Color #403954
A muted dark blue.
Conversions
#403954
rgb(64, 57, 84)
hsl(255.6, 19.1%, 27.6%)
hsv(255.6, 32.1%, 32.9%)
cmyk(23.8%, 32.1%, 0%, 67.1%)
lab(25.73, 9.66, -15.21)
lch(25.73, 18.02, 302.42)
oklch(36.4%, 0.0466, 295.96)
hwb(255.6, 22.4%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (10.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d4e · ΔE 5.6
Deuteranopia
#3d3e4d · ΔE 6.8
Tritanopia
#404a49 · ΔE 18.4
Achromatopsia
#3d3d3d · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403954;
bg-[#403954]
Related colors
Frequently asked questions
#403954 (#403954) is rgb(64, 57, 84) in RGB.
No, #403954 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 #403954, or check how it holds up for accessibility.