Color #505faa
A muted medium blue.
Conversions
#505faa
rgb(80, 95, 170)
hsl(230, 36%, 49%)
hsv(230, 52.9%, 66.7%)
cmyk(52.9%, 44.1%, 0%, 33.3%)
lab(42.45, 16.18, -42.13)
lch(42.45, 45.13, 291.01)
oklch(51%, 0.1199, 272.97)
hwb(230, 31.4%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (5.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#57579c · ΔE 4.4
Deuteranopia
#565598 · ΔE 5.2
Tritanopia
#51908d · ΔE 30.3
Achromatopsia
#646464 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505faa;
bg-[#505faa]
Related colors
Frequently asked questions
#505faa (#505faa) is rgb(80, 95, 170) in RGB.
No, #505faa 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 #505faa, or check how it holds up for accessibility.