#5987D2 color
The hex color #5987D2 is a moderate azure.
In the RGB color model it is made of 34.9% red, 52.9% green and 82.4% blue (89, 135, 210).
Its hue angle is 217°, with 57% saturation and 59% lightness. For print, the CMYK equivalent is 58% cyan, 36% magenta, 0% yellow and 18% black.
The closest named color is Marina (#5A88C8), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.82:1).
#5987D2 color codes
| HEX | #5987D2 | |
|---|---|---|
| RGB | rgb(89, 135, 210) | |
| RGB percent | rgb(34.9%, 52.9%, 82.4%) | |
| HSL | hsl(217, 57%, 59%) | |
| HSV / HSB | hsv(217, 58%, 82%) | |
| CMYK | cmyk(58%, 36%, 0%, 18%) | |
| CIE LAB | lab(56.19, 6.66, -43.35) | |
| CIE LCH | lch(56.19, 43.86, 278.74) | |
| CIE XYZ | xyz(24.413, 24.103, 64.326) | |
| Decimal | 5867474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5987D2, 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 #5987D2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.82:1 | Pass | Fail | Pass |
| Sample text | 3.61:1 | Fail | Fail | Pass |
| #5987D2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.61:1 | Fail | Fail | Pass |
| Sample text | 5.82: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 #5987D2 looks to people with the most common types of color vision deficiency.
#688dd5Protanopia
no red cones#5882d0Deuteranopia
no green cones#0098a3Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #5987d2; }
.text { color: #5987d2; }
.border { border: 2px solid #5987d2; }
.transparent { background-color: rgb(89 135 210 / 50%); }
.gradient { background: linear-gradient(to right, #5987d2, #6759d2); }
Similar colors
#5a88c8Marina#5588ddBlue Jay#4f8fe6Olympic Blue#5182b9Fisher King#5087bdSea Salt Rivers#507bceSerenity’s Reign#6495edCornflower Blue#307dd3Soothing Sapphire
Questions
- What color is #5987D2?
- #5987D2 is a moderate azure, closest to the named color Marina. It belongs to the blue family of colors.
- What is the RGB value of #5987D2?
- The RGB value is 89, 135, 210: 89 red, 135 green and 210 blue on a 0 to 255 scale.
- What is the complementary color of #5987D2?
- The complementary color is #D2A459, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5987D2?
- Black text. Black text has a contrast ratio of 5.82:1 and white text 3.61:1. WCAG asks for at least 4.5:1 for normal text.