Color #404d87
A muted dark blue.
Conversions
#404d87
rgb(64, 77, 135)
hsl(229, 35.7%, 39%)
hsv(229, 52.6%, 52.9%)
cmyk(52.6%, 43%, 0%, 47.1%)
lab(34.29, 12.32, -34.13)
lch(34.29, 36.29, 289.85)
oklch(43.8%, 0.0968, 272.31)
hwb(229, 25.1%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (7.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#46467c · ΔE 4
Deuteranopia
#454479 · ΔE 4.7
Tritanopia
#417270 · ΔE 26.4
Achromatopsia
#515151 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404d87;
bg-[#404d87]
Related colors
Frequently asked questions
#404d87 (#404d87) is rgb(64, 77, 135) in RGB.
No, #404d87 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 #404d87, or check how it holds up for accessibility.