Color #404785
A muted dark blue.
Conversions
#404785
rgb(64, 71, 133)
hsl(233.9, 35%, 38.6%)
hsv(233.9, 51.9%, 52.2%)
cmyk(51.9%, 46.6%, 0%, 47.8%)
lab(32.46, 15.6, -35.81)
lch(32.46, 39.06, 293.54)
oklch(42.4%, 0.1023, 276.28)
hwb(233.9, 25.1%, 47.8%)
Harmony colors
Accessibility
White text reads better on this background (8.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#43437a · ΔE 2.8
Deuteranopia
#434277 · ΔE 3.5
Tritanopia
#406f6d · ΔE 27.2
Achromatopsia
#4c4c4c · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404785;
bg-[#404785]
Related colors
Frequently asked questions
#404785 (#404785) is rgb(64, 71, 133) in RGB.
No, #404785 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 #404785, or check how it holds up for accessibility.