Color #505f91
A muted medium blue.
Conversions
#505f91
rgb(80, 95, 145)
hsl(226.2, 28.9%, 44.1%)
hsv(226.2, 44.8%, 56.9%)
cmyk(44.8%, 34.5%, 0%, 43.1%)
lab(41.11, 8.17, -29.36)
lch(41.11, 30.48, 285.55)
oklch(49.5%, 0.0824, 270.49)
hwb(226.2, 31.4%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (6.2:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#575787 · ΔE 4.9
Deuteranopia
#565584 · ΔE 5.5
Tritanopia
#517e7c · ΔE 24.5
Achromatopsia
#616161 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505f91;
bg-[#505f91]
Related colors
Frequently asked questions
#505f91 (#505f91) is rgb(80, 95, 145) in RGB.
No, #505f91 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 #505f91, or check how it holds up for accessibility.