Color #40424c
A nearly neutral, gray-leaning dark blue.
Conversions
#40424c
rgb(64, 66, 76)
hsl(230, 8.6%, 27.5%)
hsv(230, 15.8%, 29.8%)
cmyk(15.8%, 13.2%, 0%, 70.2%)
lab(28.14, 1.58, -6.31)
lch(28.14, 6.5, 284.06)
oklch(38.1%, 0.0172, 276.67)
hwb(230, 25.1%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (9.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#41414a · ΔE 1.1
Deuteranopia
#414149 · ΔE 1.4
Tritanopia
#404847 · ΔE 8.5
Achromatopsia
#424242 · ΔE 5.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40424c;
bg-[#40424c]
Related colors
Frequently asked questions
#40424c (#40424c) is rgb(64, 66, 76) in RGB.
No, #40424c 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 #40424c, or check how it holds up for accessibility.