#5B87A1 color
The hex color #5B87A1 is a desaturated azure.
In the RGB color model it is made of 35.7% red, 52.9% green and 63.1% blue (91, 135, 161).
Its hue angle is 202°, with 28% saturation and 49% lightness. For print, the CMYK equivalent is 43% cyan, 16% magenta, 0% yellow and 37% black.
The closest named color is Air Force Blue (#5D8AA8), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.43:1).
#5B87A1 color codes
| HEX | #5B87A1 | |
|---|---|---|
| RGB | rgb(91, 135, 161) | |
| RGB percent | rgb(35.7%, 52.9%, 63.1%) | |
| HSL | hsl(202, 28%, 49%) | |
| HSV / HSB | hsv(202, 43%, 63%) | |
| CMYK | cmyk(43%, 16%, 0%, 37%) | |
| CIE LAB | lab(54.16, -7.97, -18.55) | |
| CIE LCH | lch(54.16, 20.19, 246.75) | |
| CIE XYZ | xyz(19.409, 22.124, 36.959) | |
| Decimal | 5998497 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B87A1, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5B87A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.43:1 | Pass | Fail | Pass |
| Sample text | 3.87:1 | Fail | Fail | Pass |
| #5B87A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.87:1 | Fail | Fail | Pass |
| Sample text | 5.43:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5B87A1 looks to people with the most common types of color vision deficiency.
#7b86a2Protanopia
no red cones#717ea1Deuteranopia
no green cones#3f8e8fTritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #5b87a1; }
.text { color: #5b87a1; }
.border { border: 2px solid #5b87a1; }
.transparent { background-color: rgb(91 135 161 / 50%); }
.gradient { background: linear-gradient(to right, #5b87a1, #5b64a1); }
Similar colors
#5d8aa8Air Force Blue#658faaTreasure Map Waters#4488aaUnderwater Moonlight#607c8eWhale Shark#648894Horizon#6b90b3Heavenly Sky#497a9fZenith#5d7b89Night Owl
Questions
- What color is #5B87A1?
- #5B87A1 is a desaturated azure, closest to the named color Air Force Blue. It belongs to the blue family of colors.
- What is the RGB value of #5B87A1?
- The RGB value is 91, 135, 161: 91 red, 135 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #5B87A1?
- The complementary color is #A1755B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B87A1?
- Black text. Black text has a contrast ratio of 5.43:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.