Color #51586e
A muted dark blue.
Conversions
#51586e
rgb(81, 88, 110)
hsl(225.5, 15.2%, 37.5%)
hsv(225.5, 26.4%, 43.1%)
cmyk(26.4%, 20%, 0%, 56.9%)
lab(37.58, 2.69, -13.47)
lch(37.58, 13.74, 281.29)
oklch(46.3%, 0.0369, 271.09)
hwb(225.5, 31.8%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (7.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545469 · ΔE 3.4
Deuteranopia
#545368 · ΔE 4
Tritanopia
#516564 · ΔE 15
Achromatopsia
#585858 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51586e;
bg-[#51586e]
Related colors
Frequently asked questions
#51586e (#51586e) is rgb(81, 88, 110) in RGB.
No, #51586e 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 #51586e, or check how it holds up for accessibility.