Color #505866
A nearly neutral, gray-leaning dark blue.
Conversions
#505866
rgb(80, 88, 102)
hsl(218.2, 12.1%, 35.7%)
hsv(218.2, 21.6%, 40%)
cmyk(21.6%, 13.7%, 0%, 60%)
lab(37.2, 0.24, -9.1)
lch(37.2, 9.1, 271.51)
oklch(45.9%, 0.025, 261.71)
hwb(218.2, 31.4%, 60%)
Harmony colors
Accessibility
White text reads better on this background (7.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545463 · ΔE 4.5
Deuteranopia
#535262 · ΔE 5.4
Tritanopia
#506060 · ΔE 9.9
Achromatopsia
#575757 · ΔE 7.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505866;
bg-[#505866]
Related colors
Frequently asked questions
#505866 (#505866) is rgb(80, 88, 102) in RGB.
No, #505866 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 #505866, or check how it holds up for accessibility.