Color #5271aa
A muted medium blue.
Conversions
#5271aa
rgb(82, 113, 170)
hsl(218.9, 34.9%, 49.4%)
hsv(218.9, 51.8%, 66.7%)
cmyk(51.8%, 33.5%, 0%, 33.3%)
lab(47.63, 5.43, -33.93)
lch(47.63, 34.36, 279.09)
oklch(55%, 0.0964, 261.95)
hwb(218.9, 32.2%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (4.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#61619f · ΔE 8.7
Deuteranopia
#5f5d9c · ΔE 9.7
Tritanopia
#549592 · ΔE 25.6
Achromatopsia
#717171 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5271aa;
bg-[#5271aa]
Related colors
Frequently asked questions
#5271aa (#5271aa) is rgb(82, 113, 170) in RGB.
No, #5271aa 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 #5271aa, or check how it holds up for accessibility.