Color #404c78
A muted dark blue.
Conversions
#404c78
rgb(64, 76, 120)
hsl(227.1, 30.4%, 36.1%)
hsv(227.1, 46.7%, 47.1%)
cmyk(46.7%, 36.7%, 0%, 52.9%)
lab(33.17, 8, -26.62)
lch(33.17, 27.8, 286.73)
oklch(42.7%, 0.0748, 271.38)
hwb(227.1, 25.1%, 52.9%)
Harmony colors
Accessibility
White text reads better on this background (8.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45466f · ΔE 3.9
Deuteranopia
#45446d · ΔE 4.7
Tritanopia
#416866 · ΔE 23.8
Achromatopsia
#4e4e4e · ΔE 17.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404c78;
bg-[#404c78]
Related colors
Frequently asked questions
#404c78 (#404c78) is rgb(64, 76, 120) in RGB.
No, #404c78 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 #404c78, or check how it holds up for accessibility.