Color #505c80
A muted medium blue.
Conversions
#505c80
rgb(80, 92, 128)
hsl(225, 23.1%, 40.8%)
hsv(225, 37.5%, 50.2%)
cmyk(37.5%, 28.1%, 0%, 49.8%)
lab(39.44, 4.91, -21.67)
lch(39.44, 22.22, 282.77)
oklch(48%, 0.0602, 269.81)
hwb(225, 31.4%, 49.8%)
Harmony colors
Accessibility
White text reads better on this background (6.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#555679 · ΔE 4.3
Deuteranopia
#555477 · ΔE 5.2
Tritanopia
#517271 · ΔE 20.7
Achromatopsia
#5d5d5d · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505c80;
bg-[#505c80]
Related colors
Frequently asked questions
#505c80 (#505c80) is rgb(80, 92, 128) in RGB.
No, #505c80 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 #505c80, or check how it holds up for accessibility.