Color #51576d
A nearly neutral, gray-leaning dark blue.
Conversions
#51576d
rgb(81, 87, 109)
hsl(227.1, 14.7%, 37.3%)
hsv(227.1, 25.7%, 42.7%)
cmyk(25.7%, 20.2%, 0%, 57.3%)
lab(37.24, 3.04, -13.36)
lch(37.24, 13.7, 282.82)
oklch(46%, 0.0366, 272.97)
hwb(227.1, 31.8%, 57.3%)
Harmony colors
Accessibility
White text reads better on this background (7.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545468 · ΔE 2.9
Deuteranopia
#535367 · ΔE 3
Tritanopia
#516463 · ΔE 15.1
Achromatopsia
#585858 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51576d;
bg-[#51576d]
Related colors
Frequently asked questions
#51576d (#51576d) is rgb(81, 87, 109) in RGB.
No, #51576d 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 #51576d, or check how it holds up for accessibility.