Color #403b4e
A nearly neutral, gray-leaning dark blue.
Conversions
#403b4e
rgb(64, 59, 78)
hsl(255.8, 13.9%, 26.9%)
hsv(255.8, 24.4%, 30.6%)
cmyk(17.9%, 24.4%, 0%, 69.4%)
lab(26.06, 6.7, -10.75)
lch(26.06, 12.67, 301.93)
oklch(36.5%, 0.0329, 296.72)
hwb(255.8, 23.1%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (10.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e4a · ΔE 4.6
Deuteranopia
#3e3f49 · ΔE 5.9
Tritanopia
#404746 · ΔE 14.3
Achromatopsia
#3e3e3e · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403b4e;
bg-[#403b4e]
Related colors
Frequently asked questions
#403b4e (#403b4e) is rgb(64, 59, 78) in RGB.
No, #403b4e 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 #403b4e, or check how it holds up for accessibility.