Color #405158
A muted dark cyan.
Conversions
#405158
rgb(64, 81, 88)
hsl(197.5, 15.8%, 29.8%)
hsv(197.5, 27.3%, 34.5%)
cmyk(27.3%, 8%, 0%, 65.5%)
lab(33.31, -4.78, -6.28)
lch(33.31, 7.89, 232.72)
oklch(42.3%, 0.0243, 224.83)
hwb(197.5, 25.1%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (8.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#484856 · ΔE 10.8
Deuteranopia
#474656 · ΔE 12.1
Tritanopia
#415555 · ΔE 4.8
Achromatopsia
#4e4e4e · ΔE 7.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #405158;
bg-[#405158]
Related colors
Frequently asked questions
#405158 (#405158) is rgb(64, 81, 88) in RGB.
No, #405158 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 #405158, or check how it holds up for accessibility.