Color #404f7d
A muted dark blue.
Conversions
#404f7d
rgb(64, 79, 125)
hsl(225.2, 32.3%, 37.1%)
hsv(225.2, 48.8%, 49%)
cmyk(48.8%, 36.8%, 0%, 51%)
lab(34.32, 7.67, -27.91)
lch(34.32, 28.94, 285.37)
oklch(43.7%, 0.0786, 269.27)
hwb(225.2, 25.1%, 51%)
Harmony colors
Accessibility
White text reads better on this background (7.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#474774 · ΔE 4.8
Deuteranopia
#464572 · ΔE 5.4
Tritanopia
#416c6a · ΔE 24
Achromatopsia
#515151 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404f7d;
bg-[#404f7d]
Related colors
Frequently asked questions
#404f7d (#404f7d) is rgb(64, 79, 125) in RGB.
No, #404f7d 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 #404f7d, or check how it holds up for accessibility.