Color #403662
A muted dark blue.
Conversions
#403662
rgb(64, 54, 98)
hsl(253.6, 28.9%, 29.8%)
hsv(253.6, 44.9%, 38.4%)
cmyk(34.7%, 44.9%, 0%, 61.6%)
lab(25.59, 15.71, -24.56)
lch(25.59, 29.15, 302.61)
oklch(36.5%, 0.0747, 292.76)
hwb(253.6, 21.2%, 61.6%)
Harmony colors
Accessibility
White text reads better on this background (10.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3c3c5a · ΔE 5.3
Deuteranopia
#3c3d58 · ΔE 6.5
Tritanopia
#405251 · ΔE 23.4
Achromatopsia
#3d3d3d · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403662;
bg-[#403662]
Related colors
Frequently asked questions
#403662 (#403662) is rgb(64, 54, 98) in RGB.
No, #403662 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 #403662, or check how it holds up for accessibility.