Color #42404c
A nearly neutral, gray-leaning dark blue.
Conversions
#42404c
rgb(66, 64, 76)
hsl(250, 8.6%, 27.5%)
hsv(250, 15.8%, 29.8%)
cmyk(13.2%, 15.8%, 0%, 70.2%)
lab(27.7, 3.66, -6.94)
lch(27.7, 7.85, 297.81)
oklch(37.8%, 0.0204, 293.05)
hwb(250, 25.1%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (10.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#414149 · ΔE 2.6
Deuteranopia
#414149 · ΔE 2.6
Tritanopia
#424747 · ΔE 9.2
Achromatopsia
#414141 · ΔE 7.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #42404c;
bg-[#42404c]
Related colors
Frequently asked questions
#42404c (#42404c) is rgb(66, 64, 76) in RGB.
No, #42404c 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 #42404c, or check how it holds up for accessibility.