Color #404a87
A muted dark blue.
Conversions
#404a87
rgb(64, 74, 135)
hsl(231.5, 35.7%, 39%)
hsv(231.5, 52.6%, 52.9%)
cmyk(52.6%, 45.2%, 0%, 47.1%)
lab(33.43, 14.3, -35.49)
lch(33.43, 38.26, 291.95)
oklch(43.2%, 0.1011, 274.37)
hwb(231.5, 25.1%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (8.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45457c · ΔE 3.3
Deuteranopia
#444379 · ΔE 4
Tritanopia
#41726f · ΔE 27.5
Achromatopsia
#4f4f4f · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404a87;
bg-[#404a87]
Related colors
Frequently asked questions
#404a87 (#404a87) is rgb(64, 74, 135) in RGB.
No, #404a87 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 #404a87, or check how it holds up for accessibility.