#878EA7 color
The hex color #878EA7 is a grayish blue.
In the RGB color model it is made of 52.9% red, 55.7% green and 65.5% blue (135, 142, 167).
Its hue angle is 227°, with 15% saturation and 59% lightness. For print, the CMYK equivalent is 19% cyan, 15% magenta, 0% yellow and 35% black.
The closest named color is Cool Gray (#8C92AC), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.46:1).
#878EA7 color codes
| HEX | #878EA7 | |
|---|---|---|
| RGB | rgb(135, 142, 167) | |
| RGB percent | rgb(52.9%, 55.7%, 65.5%) | |
| HSL | hsl(227, 15%, 59%) | |
| HSV / HSB | hsv(227, 19%, 65%) | |
| CMYK | cmyk(19%, 15%, 0%, 35%) | |
| CIE LAB | lab(59.24, 2.9, -14.01) | |
| CIE LCH | lch(59.24, 14.31, 281.71) | |
| CIE XYZ | xyz(26.638, 27.286, 40.415) | |
| Decimal | 8883879 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878EA7, 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 #878EA7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.46:1 | Pass | Fail | Pass |
| Sample text | 3.25:1 | Fail | Fail | Pass |
| #878EA7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.46: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 #878EA7 looks to people with the most common types of color vision deficiency.
#8790a8Protanopia
no red cones#858da6Deuteranopia
no green cones#809396Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #878ea7; }
.text { color: #878ea7; }
.border { border: 2px solid #878ea7; }
.transparent { background-color: rgb(135 142 167 / 50%); }
.gradient { background: linear-gradient(to right, #878ea7, #9087a7); }
Similar colors
#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#888899Dusty Chimney#79839bTempest#838996Roman Silver#9596a4Too Big to Whale#9999aaMachinery
Questions
- What color is #878EA7?
- #878EA7 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 #878EA7?
- The RGB value is 135, 142, 167: 135 red, 142 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #878EA7?
- The complementary color is #A7A087, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878EA7?
- Black text. Black text has a contrast ratio of 6.46:1 and white text 3.25:1. WCAG asks for at least 4.5:1 for normal text.