Color #5b87a4
A muted medium blue.
Conversions
#5b87a4
rgb(91, 135, 164)
hsl(203.8, 28.6%, 50%)
hsv(203.8, 44.5%, 64.3%)
cmyk(44.5%, 17.7%, 0%, 35.7%)
lab(54.27, -7.11, -20.11)
lch(54.27, 21.33, 250.53)
oklch(60.3%, 0.0656, 238.15)
hwb(203.8, 35.7%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.45:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#71719e · ΔE 15.9
Deuteranopia
#6e6b9c · ΔE 17.1
Tritanopia
#5e9897 · ΔE 14.8
Achromatopsia
#828282 · ΔE 15
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b87a4;
bg-[#5b87a4]
Related colors
Frequently asked questions
#5b87a4 (#5b87a4) is rgb(91, 135, 164) in RGB.
No, #5b87a4 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 #5b87a4, or check how it holds up for accessibility.