Color #51595e
A nearly neutral, gray-leaning dark blue.
Conversions
#51595e
rgb(81, 89, 94)
hsl(203.1, 7.4%, 34.3%)
hsv(203.1, 13.8%, 36.9%)
cmyk(13.8%, 5.3%, 0%, 63.1%)
lab(37.3, -1.98, -3.95)
lch(37.3, 4.42, 243.38)
oklch(45.9%, 0.013, 235.33)
hwb(203.1, 31.8%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (7.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#55555d · ΔE 5.4
Deuteranopia
#54535d · ΔE 6.7
Tritanopia
#515c5c · ΔE 3.8
Achromatopsia
#585858 · ΔE 4.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51595e;
bg-[#51595e]
Related colors
Frequently asked questions
#51595e (#51595e) is rgb(81, 89, 94) in RGB.
No, #51595e 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 #51595e, or check how it holds up for accessibility.