Color #474156
A nearly neutral, gray-leaning dark blue.
Conversions
#474156
rgb(71, 65, 86)
hsl(257.1, 13.9%, 29.6%)
hsv(257.1, 24.4%, 33.7%)
cmyk(17.4%, 24.4%, 0%, 66.3%)
lab(28.88, 7.47, -11.62)
lch(28.88, 13.81, 302.74)
oklch(39%, 0.0358, 297.78)
hwb(257.1, 25.5%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (9.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#444452 · ΔE 4.7
Deuteranopia
#454550 · ΔE 6
Tritanopia
#474e4d · ΔE 15.1
Achromatopsia
#444444 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #474156;
bg-[#474156]
Related colors
Frequently asked questions
#474156 (#474156) is rgb(71, 65, 86) in RGB.
No, #474156 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 #474156, or check how it holds up for accessibility.