#878CAB color
The hex color #878CAB is a grayish blue.
In the RGB color model it is made of 52.9% red, 54.9% green and 67.1% blue (135, 140, 171).
Its hue angle is 232°, with 18% saturation and 60% lightness. For print, the CMYK equivalent is 21% cyan, 18% magenta, 0% yellow and 33% black.
The closest named color is Cool Gray (#8C92AC), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.37:1).
#878CAB color codes
| HEX | #878CAB | |
|---|---|---|
| RGB | rgb(135, 140, 171) | |
| RGB percent | rgb(52.9%, 54.9%, 67.1%) | |
| HSL | hsl(232, 18%, 60%) | |
| HSV / HSB | hsv(232, 21%, 67%) | |
| CMYK | cmyk(21%, 18%, 0%, 33%) | |
| CIE LAB | lab(58.83, 4.99, -16.91) | |
| CIE LCH | lch(58.83, 17.63, 286.43) | |
| CIE XYZ | xyz(26.719, 26.847, 42.294) | |
| Decimal | 8883371 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878CAB, 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 #878CAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.37:1 | Pass | Fail | Pass |
| Sample text | 3.3:1 | Fail | Fail | Pass |
| #878CAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.3:1 | Fail | Fail | Pass |
| Sample text | 6.37: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 #878CAB looks to people with the most common types of color vision deficiency.
#848facProtanopia
no red cones#828caaDeuteranopia
no green cones#7f9196Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #878cab; }
.text { color: #878cab; }
.border { border: 2px solid #878cab; }
.transparent { background-color: rgb(135 140 171 / 50%); }
.gradient { background: linear-gradient(to right, #878cab, #9487ab); }
Similar colors
#8c92acCool Gray#7f8cb8Galactic Gossamer#8d95aaSilverfish#79839bTempest#888899Dusty Chimney#8d99b1Moon Veil#8e97c7Easter Egg#7181a4English Manor
Questions
- What color is #878CAB?
- #878CAB 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 #878CAB?
- The RGB value is 135, 140, 171: 135 red, 140 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #878CAB?
- The complementary color is #ABA687, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878CAB?
- Black text. Black text has a contrast ratio of 6.37:1 and white text 3.3:1. WCAG asks for at least 4.5:1 for normal text.