Color #505a91
A muted medium blue.
Conversions
#505a91
rgb(80, 90, 145)
hsl(230.8, 28.9%, 44.1%)
hsv(230.8, 44.8%, 56.9%)
cmyk(44.8%, 37.9%, 0%, 43.1%)
lab(39.68, 11.33, -31.6)
lch(39.68, 33.57, 289.73)
oklch(48.4%, 0.0892, 274.76)
hwb(230.8, 31.4%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (6.54:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#555586 · ΔE 3.6
Deuteranopia
#545384 · ΔE 4.2
Tritanopia
#517d7b · ΔE 25.8
Achromatopsia
#5d5d5d · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505a91;
bg-[#505a91]
Related colors
Frequently asked questions
#505a91 (#505a91) is rgb(80, 90, 145) in RGB.
No, #505a91 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 #505a91, or check how it holds up for accessibility.