Color #505a8f
A muted medium blue.
Conversions
#505a8f
rgb(80, 90, 143)
hsl(230.5, 28.3%, 43.7%)
hsv(230.5, 44.1%, 56.1%)
cmyk(44.1%, 37.1%, 0%, 43.9%)
lab(39.58, 10.71, -30.56)
lch(39.58, 32.38, 289.31)
oklch(48.3%, 0.0862, 274.59)
hwb(230.5, 31.4%, 43.9%)
Harmony colors
Accessibility
White text reads better on this background (6.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#555585 · ΔE 3.6
Deuteranopia
#545382 · ΔE 4.2
Tritanopia
#517c79 · ΔE 25.8
Achromatopsia
#5d5d5d · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505a8f;
bg-[#505a8f]
Related colors
Frequently asked questions
#505a8f (#505a8f) is rgb(80, 90, 143) in RGB.
No, #505a8f 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 #505a8f, or check how it holds up for accessibility.