#878FA8 color
The hex color #878FA8 is a grayish blue.
In the RGB color model it is made of 52.9% red, 56.1% green and 65.9% blue (135, 143, 168).
Its hue angle is 225°, with 16% saturation and 59% lightness. For print, the CMYK equivalent is 20% cyan, 15% magenta, 0% yellow and 34% 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.52:1).
#878FA8 color codes
| HEX | #878FA8 | |
|---|---|---|
| RGB | rgb(135, 143, 168) | |
| RGB percent | rgb(52.9%, 56.1%, 65.9%) | |
| HSL | hsl(225, 16%, 59%) | |
| HSV / HSB | hsv(225, 20%, 66%) | |
| CMYK | cmyk(20%, 15%, 0%, 34%) | |
| CIE LAB | lab(59.55, 2.57, -14.12) | |
| CIE LCH | lch(59.55, 14.35, 280.31) | |
| CIE XYZ | xyz(26.88, 27.622, 40.954) | |
| Decimal | 8884136 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878FA8, 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 #878FA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.52:1 | Pass | Fail | Pass |
| Sample text | 3.22:1 | Fail | Fail | Pass |
| #878FA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.22:1 | Fail | Fail | Pass |
| Sample text | 6.52: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 #878FA8 looks to people with the most common types of color vision deficiency.
#8891a9Protanopia
no red cones#858ea7Deuteranopia
no green cones#7f9497Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #878fa8; }
.text { color: #878fa8; }
.border { border: 2px solid #878fa8; }
.transparent { background-color: rgb(135 143 168 / 50%); }
.gradient { background: linear-gradient(to right, #878fa8, #9087a8); }
Similar colors
#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#79839bTempest#888899Dusty Chimney#838996Roman Silver#9596a4Too Big to Whale#9999aaMachinery
Questions
- What color is #878FA8?
- #878FA8 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 #878FA8?
- The RGB value is 135, 143, 168: 135 red, 143 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #878FA8?
- The complementary color is #A8A087, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878FA8?
- Black text. Black text has a contrast ratio of 6.52:1 and white text 3.22:1. WCAG asks for at least 4.5:1 for normal text.