Color #40395d
A muted dark blue.
Conversions
#40395d
rgb(64, 57, 93)
hsl(251.7, 24%, 29.4%)
hsv(251.7, 38.7%, 36.5%)
cmyk(31.2%, 38.7%, 0%, 63.5%)
lab(26.18, 12.22, -20.4)
lch(26.18, 23.78, 300.92)
oklch(36.8%, 0.0613, 292.04)
hwb(251.7, 22.4%, 63.5%)
Harmony colors
Accessibility
White text reads better on this background (10.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d56 · ΔE 4.8
Deuteranopia
#3d3e54 · ΔE 6.2
Tritanopia
#40504e · ΔE 22.2
Achromatopsia
#3e3e3e · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40395d;
bg-[#40395d]
Related colors
Frequently asked questions
#40395d (#40395d) is rgb(64, 57, 93) in RGB.
No, #40395d 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 #40395d, or check how it holds up for accessibility.