Color #403e6c
A muted dark blue.
Conversions
#403e6c
rgb(64, 62, 108)
hsl(242.6, 27.1%, 33.3%)
hsv(242.6, 42.6%, 42.4%)
cmyk(40.7%, 42.6%, 0%, 57.6%)
lab(28.43, 13.42, -26.52)
lch(28.43, 29.72, 296.84)
oklch(38.8%, 0.077, 284.22)
hwb(242.6, 24.3%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (9.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f63 · ΔE 2.8
Deuteranopia
#3f3f61 · ΔE 3.5
Tritanopia
#405c5a · ΔE 24.7
Achromatopsia
#434343 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403e6c;
bg-[#403e6c]
Related colors
Frequently asked questions
#403e6c (#403e6c) is rgb(64, 62, 108) in RGB.
No, #403e6c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #403e6c, or check how it holds up for accessibility.