Color #403f4e
A nearly neutral, gray-leaning dark blue.
Conversions
#403f4e
rgb(64, 63, 78)
hsl(244, 10.6%, 27.6%)
hsv(244, 19.2%, 30.6%)
cmyk(17.9%, 19.2%, 0%, 69.4%)
lab(27.28, 4.05, -8.9)
lch(27.28, 9.78, 294.47)
oklch(37.5%, 0.0255, 288.08)
hwb(244, 24.7%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (10.3:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40404b · ΔE 2.2
Deuteranopia
#40404a · ΔE 2.7
Tritanopia
#404847 · ΔE 11.8
Achromatopsia
#404040 · ΔE 8.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403f4e;
bg-[#403f4e]
Related colors
Frequently asked questions
#403f4e (#403f4e) is rgb(64, 63, 78) in RGB.
No, #403f4e 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 #403f4e, or check how it holds up for accessibility.