#878F9D color
The hex color #878F9D is a grayish azure.
In the RGB color model it is made of 52.9% red, 56.1% green and 61.6% blue (135, 143, 157).
Its hue angle is 218°, with 10% saturation and 57% lightness. For print, the CMYK equivalent is 14% cyan, 9% magenta, 0% yellow and 38% black.
The closest named color is Roman Silver (#838996), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.45:1).
#878F9D color codes
| HEX | #878F9D | |
|---|---|---|
| RGB | rgb(135, 143, 157) | |
| RGB percent | rgb(52.9%, 56.1%, 61.6%) | |
| HSL | hsl(218, 10%, 57%) | |
| HSV / HSB | hsv(218, 14%, 62%) | |
| CMYK | cmyk(14%, 9%, 0%, 38%) | |
| CIE LAB | lab(59.19, 0.07, -8.39) | |
| CIE LCH | lch(59.19, 8.39, 270.5) | |
| CIE XYZ | xyz(25.899, 27.23, 35.783) | |
| Decimal | 8884125 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878F9D, 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 #878F9D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.45:1 | Pass | Fail | Pass |
| Sample text | 3.26:1 | Fail | Fail | Pass |
| #878F9D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.45: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 #878F9D looks to people with the most common types of color vision deficiency.
#8b909eProtanopia
no red cones#898e9dDeuteranopia
no green cones#829293Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #878f9d; }
.text { color: #878f9d; }
.border { border: 2px solid #878f9d; }
.transparent { background-color: rgb(135 143 157 / 50%); }
.gradient { background: linear-gradient(to right, #878f9d, #8a879d); }
Similar colors
#838996Roman Silver#7f8793Sea Lion#8d95aaSilverfish#7e8590Smoky Studio#91979fGrisaille#898c92Nuts and Bolts#9698a3Dark Ages#9596a4Too Big to Whale
Closest common color name: Light Slate Gray.
Questions
- What color is #878F9D?
- #878F9D is a grayish azure, closest to the named color Roman Silver. It belongs to the gray family of colors.
- What is the RGB value of #878F9D?
- The RGB value is 135, 143, 157: 135 red, 143 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #878F9D?
- The complementary color is #9D9587, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878F9D?
- Black text. Black text has a contrast ratio of 6.45:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.