Color #505fa1
A muted medium blue.
Conversions
#505fa1
rgb(80, 95, 161)
hsl(228.9, 33.6%, 47.3%)
hsv(228.9, 50.3%, 63.1%)
cmyk(50.3%, 41%, 0%, 36.9%)
lab(41.94, 13.25, -37.61)
lch(41.94, 39.88, 289.41)
oklch(50.4%, 0.1065, 272.42)
hwb(228.9, 31.4%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (6.01:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#575794 · ΔE 4.6
Deuteranopia
#565591 · ΔE 5.3
Tritanopia
#518987 · ΔE 27.9
Achromatopsia
#636363 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505fa1;
bg-[#505fa1]
Related colors
Frequently asked questions
#505fa1 (#505fa1) is rgb(80, 95, 161) in RGB.
No, #505fa1 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 #505fa1, or check how it holds up for accessibility.