Color #505d86
A muted medium blue.
Conversions
#505d86
rgb(80, 93, 134)
hsl(225.6, 25.2%, 42%)
hsv(225.6, 40.3%, 52.5%)
cmyk(40.3%, 30.6%, 0%, 47.5%)
lab(40.01, 6.07, -24.44)
lch(40.01, 25.18, 283.95)
oklch(48.5%, 0.0682, 270.25)
hwb(225.6, 31.4%, 47.5%)
Harmony colors
Accessibility
White text reads better on this background (6.46:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#56567e · ΔE 4.6
Deuteranopia
#55547b · ΔE 5.3
Tritanopia
#517675 · ΔE 22.1
Achromatopsia
#5e5e5e · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505d86;
bg-[#505d86]
Related colors
Frequently asked questions
#505d86 (#505d86) is rgb(80, 93, 134) in RGB.
No, #505d86 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 #505d86, or check how it holds up for accessibility.