Color #404e82
A muted dark blue.
Conversions
#404e82
rgb(64, 78, 130)
hsl(227.3, 34%, 38%)
hsv(227.3, 50.8%, 51%)
cmyk(50.8%, 40%, 0%, 49%)
lab(34.29, 9.99, -31.04)
lch(34.29, 32.61, 287.84)
oklch(43.7%, 0.0877, 271.05)
hwb(227.3, 25.1%, 49%)
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
#464778 · ΔE 4.1
Deuteranopia
#464575 · ΔE 5
Tritanopia
#416f6d · ΔE 25.3
Achromatopsia
#515151 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404e82;
bg-[#404e82]
Related colors
Frequently asked questions
#404e82 (#404e82) is rgb(64, 78, 130) in RGB.
No, #404e82 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 #404e82, or check how it holds up for accessibility.