Color #403957
A muted dark blue.
Conversions
#403957
rgb(64, 57, 87)
hsl(254, 20.8%, 28.2%)
hsv(254, 34.5%, 34.1%)
cmyk(26.4%, 34.5%, 0%, 65.9%)
lab(25.88, 10.49, -16.95)
lch(25.88, 19.93, 301.75)
oklch(36.5%, 0.0515, 294.43)
hwb(254, 22.4%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (10.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d51 · ΔE 5.2
Deuteranopia
#3d3e4f · ΔE 6.8
Tritanopia
#404c4b · ΔE 19.7
Achromatopsia
#3d3d3d · ΔE 15.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403957;
bg-[#403957]
Related colors
Frequently asked questions
#403957 (#403957) is rgb(64, 57, 87) in RGB.
No, #403957 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 #403957, or check how it holds up for accessibility.