Color #5a87a7
A muted medium blue.
Conversions
#5a87a7
rgb(90, 135, 167)
hsl(204.9, 30.4%, 50.4%)
hsv(204.9, 46.1%, 65.5%)
cmyk(46.1%, 19.2%, 0%, 34.5%)
lab(54.33, -6.5, -21.75)
lch(54.33, 22.7, 253.36)
oklch(60.4%, 0.0694, 240.3)
hwb(204.9, 35.3%, 34.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.46:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7071a0 · ΔE 15.1
Deuteranopia
#6e6a9e · ΔE 16.8
Tritanopia
#5d9a99 · ΔE 15.9
Achromatopsia
#828282 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a87a7;
bg-[#5a87a7]
Related colors
Frequently asked questions
#5a87a7 (#5a87a7) is rgb(90, 135, 167) in RGB.
No, #5a87a7 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 #5a87a7, or check how it holds up for accessibility.