Color #123162
A moderately saturated dark blue.
Conversions
#123162
rgb(18, 49, 98)
hsl(216.8, 69%, 22.7%)
hsv(216.8, 81.6%, 38.4%)
cmyk(81.6%, 50%, 0%, 61.6%)
lab(20.85, 8.31, -32.31)
lch(20.85, 33.36, 284.42)
oklch(32%, 0.0943, 259.37)
hwb(216.8, 7.1%, 61.6%)
Harmony colors
Accessibility
White text reads better on this background (12.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232359 · ΔE 7.2
Deuteranopia
#211f57 · ΔE 8.2
Tritanopia
#15514f · ΔE 25.2
Achromatopsia
#323232 · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #123162;
bg-[#123162]
Related colors
Frequently asked questions
#123162 (#123162) is rgb(18, 49, 98) in RGB.
No, #123162 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #123162, or check how it holds up for accessibility.