Skip to content
Kolorvia
#5a87a7

Color #5a87a7

A muted medium blue.

Conversions

HEX
#5a87a7
RGB
rgb(90, 135, 167)
HSL
hsl(204.9, 30.4%, 50.4%)
HSV / HSB
hsv(204.9, 46.1%, 65.5%)
CMYK
cmyk(46.1%, 19.2%, 0%, 34.5%)
LAB
lab(54.33, -6.5, -21.75)
LCH
lch(54.33, 22.7, 253.36)
OKLCH
oklch(60.4%, 0.0694, 240.3)
HWB
hwb(204.9, 35.3%, 34.5%)

Harmony colors

Complementary

#a77a5a

Analogous

#5aa7a0
#5a87a7
#5a61a7

Triadic

#5a87a7
#a75a87
#87a75a

Split-complementary

#5a87a7
#a75a61
#a7a05a

Tetradic

#5a87a7
#7a5aa7
#a77a5a
#87a75a

Square

#5a87a7
#a05aa7
#a77a5a
#61a75a

Shades

Color #5a87a7 mixed toward black.

#4b718c
#3c5a70
#2d4454
#1e2d38
#0f171c

Tints

Color #5a87a7 mixed toward white.

#769bb6
#91afc4
#adc3d3
#c8d7e2
#e4ebf0

Tones

Color #5a87a7 mixed toward gray.

#6086a1
#67859a
#6d8494
#74838d
#7a8287

Accessibility

Aa White text on this color
3.85:1
Aa Black text on this color
5.46:1

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

CSS
background-color: #5a87a7;
Tailwind (arbitrary value)
bg-[#5a87a7]

Related colors

Charcoal #36454f
Light Sky Blue #87cefa
Steel Blue #4682b4
Alice Blue #f0f8ff
Dodger Blue #1e90ff
Light Slate Gray #778899

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

Build something with this color

Generate a full palette from #5a87a7, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.