Color #5f6476
A nearly neutral, gray-leaning medium blue.
Conversions
#5f6476
rgb(95, 100, 118)
hsl(227, 10.8%, 41.8%)
hsv(227, 19.5%, 46.3%)
cmyk(19.5%, 15.3%, 0%, 53.7%)
lab(42.54, 2.23, -10.74)
lch(42.54, 10.97, 281.73)
oklch(50.6%, 0.0292, 273.14)
hwb(227, 37.3%, 53.7%)
Harmony colors
Accessibility
White text reads better on this background (5.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#616172 · ΔE 2.6
Deuteranopia
#616171 · ΔE 2.6
Tritanopia
#5f6f6e · ΔE 12.8
Achromatopsia
#646464 · ΔE 9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6476;
bg-[#5f6476]
Related colors
Frequently asked questions
#5f6476 (#5f6476) is rgb(95, 100, 118) in RGB.
No, #5f6476 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 #5f6476, or check how it holds up for accessibility.