Color #18408d
A vivid, highly saturated dark blue.
Conversions
#18408d
rgb(24, 64, 141)
hsl(219.5, 70.9%, 32.4%)
hsv(219.5, 83%, 55.3%)
cmyk(83%, 54.6%, 0%, 44.7%)
lab(28.86, 16.39, -46.64)
lch(28.86, 49.44, 289.36)
oklch(39.2%, 0.1359, 261.75)
hwb(219.5, 9.4%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (9.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e80 · ΔE 7.7
Deuteranopia
#2c297c · ΔE 9
Tritanopia
#1b7471 · ΔE 31.6
Achromatopsia
#444444 · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #18408d;
bg-[#18408d]
Related colors
Frequently asked questions
#18408d (#18408d) is rgb(24, 64, 141) in RGB.
No, #18408d 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 #18408d, or check how it holds up for accessibility.