#878EAA color
The hex color #878EAA is a grayish blue.
In the RGB color model it is made of 52.9% red, 55.7% green and 66.7% blue (135, 142, 170).
Its hue angle is 228°, with 17% saturation and 60% lightness. For print, the CMYK equivalent is 21% cyan, 16% magenta, 0% yellow and 33% black.
The closest named color is Cool Gray (#8C92AC), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.48:1).
#878EAA color codes
| HEX | #878EAA | |
|---|---|---|
| RGB | rgb(135, 142, 170) | |
| RGB percent | rgb(52.9%, 55.7%, 66.7%) | |
| HSL | hsl(228, 17%, 60%) | |
| HSV / HSB | hsv(228, 21%, 67%) | |
| CMYK | cmyk(21%, 16%, 0%, 33%) | |
| CIE LAB | lab(59.34, 3.61, -15.56) | |
| CIE LCH | lch(59.34, 15.98, 283.04) | |
| CIE XYZ | xyz(26.919, 27.399, 41.893) | |
| Decimal | 8883882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878EAA, 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 #878EAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.48:1 | Pass | Fail | Pass |
| Sample text | 3.24:1 | Fail | Fail | Pass |
| #878EAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.48: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 #878EAA looks to people with the most common types of color vision deficiency.
#8690abProtanopia
no red cones#848ea9Deuteranopia
no green cones#7f9397Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #878eaa; }
.text { color: #878eaa; }
.border { border: 2px solid #878eaa; }
.transparent { background-color: rgb(135 142 170 / 50%); }
.gradient { background: linear-gradient(to right, #878eaa, #9287aa); }
Similar colors
#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#79839bTempest#7f8cb8Galactic Gossamer#888899Dusty Chimney#9999aaMachinery#74819aStonewash
Questions
- What color is #878EAA?
- #878EAA is a grayish blue, closest to the named color Cool Gray. It belongs to the blue family of colors.
- What is the RGB value of #878EAA?
- The RGB value is 135, 142, 170: 135 red, 142 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #878EAA?
- The complementary color is #AAA387, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878EAA?
- Black text. Black text has a contrast ratio of 6.48:1 and white text 3.24:1. WCAG asks for at least 4.5:1 for normal text.