Color #5871b2
A muted medium blue.
Conversions
#5871b2
rgb(88, 113, 178)
hsl(223.3, 36.9%, 52.2%)
hsv(223.3, 50.6%, 69.8%)
cmyk(50.6%, 36.5%, 0%, 30.2%)
lab(48.38, 9.42, -37.38)
lch(48.38, 38.55, 284.14)
oklch(55.8%, 0.1056, 267.02)
hwb(223.3, 34.5%, 30.2%)
Harmony colors
Accessibility
White text reads better on this background (4.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6464a5 · ΔE 7
Deuteranopia
#6260a2 · ΔE 8.1
Tritanopia
#599a98 · ΔE 27.1
Achromatopsia
#737373 · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5871b2;
bg-[#5871b2]
Related colors
Frequently asked questions
#5871b2 (#5871b2) is rgb(88, 113, 178) in RGB.
No, #5871b2 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 #5871b2, or check how it holds up for accessibility.