Color #403a4f
A muted dark blue.
Conversions
#403a4f
rgb(64, 58, 79)
hsl(257.1, 15.3%, 26.9%)
hsv(257.1, 26.6%, 31%)
cmyk(19%, 26.6%, 0%, 69%)
lab(25.8, 7.63, -11.81)
lch(25.8, 14.06, 302.86)
oklch(36.3%, 0.0365, 297.62)
hwb(257.1, 22.7%, 69%)
Harmony colors
Accessibility
White text reads better on this background (10.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d4b · ΔE 4.7
Deuteranopia
#3e3e49 · ΔE 6
Tritanopia
#404746 · ΔE 15.3
Achromatopsia
#3d3d3d · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403a4f;
bg-[#403a4f]
Related colors
Frequently asked questions
#403a4f (#403a4f) is rgb(64, 58, 79) in RGB.
No, #403a4f 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 #403a4f, or check how it holds up for accessibility.