Color #124dac
A vivid, highly saturated dark blue.
Conversions
#124dac
rgb(18, 77, 172)
hsl(217, 81.1%, 37.3%)
hsv(217, 89.5%, 67.5%)
cmyk(89.5%, 55.2%, 0%, 32.5%)
lab(34.83, 19.65, -55.72)
lch(34.83, 59.08, 289.43)
oklch(44.5%, 0.1634, 260.13)
hwb(217, 7.1%, 32.5%)
Harmony colors
Accessibility
White text reads better on this background (7.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#35359c · ΔE 9.5
Deuteranopia
#322d97 · ΔE 11.6
Tritanopia
#198d89 · ΔE 35.8
Achromatopsia
#525252 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #124dac;
bg-[#124dac]
Related colors
Frequently asked questions
#124dac (#124dac) is rgb(18, 77, 172) in RGB.
No, #124dac 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 #124dac, or check how it holds up for accessibility.