Color #505981
A muted medium blue.
Conversions
#505981
rgb(80, 89, 129)
hsl(229, 23.4%, 41%)
hsv(229, 38%, 50.6%)
cmyk(38%, 31%, 0%, 49.4%)
lab(38.61, 7.09, -23.57)
lch(38.61, 24.61, 286.74)
oklch(47.3%, 0.0659, 273.92)
hwb(229, 31.4%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (6.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#545479 · ΔE 3.5
Deuteranopia
#545377 · ΔE 4
Tritanopia
#507270 · ΔE 22.7
Achromatopsia
#5b5b5b · ΔE 16.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505981;
bg-[#505981]
Related colors
Frequently asked questions
#505981 (#505981) is rgb(80, 89, 129) in RGB.
No, #505981 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 #505981, or check how it holds up for accessibility.