#878CA1 color
The hex color #878CA1 is a grayish blue.
In the RGB color model it is made of 52.9% red, 54.9% green and 63.1% blue (135, 140, 161).
Its hue angle is 228°, with 12% saturation and 58% lightness. For print, the CMYK equivalent is 16% cyan, 13% magenta, 0% yellow and 37% black.
The closest named color is Cool Gray (#8C92AC), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.3:1).
#878CA1 color codes
| HEX | #878CA1 | |
|---|---|---|
| RGB | rgb(135, 140, 161) | |
| RGB percent | rgb(52.9%, 54.9%, 63.1%) | |
| HSL | hsl(228, 12%, 58%) | |
| HSV / HSB | hsv(228, 16%, 63%) | |
| CMYK | cmyk(16%, 13%, 0%, 37%) | |
| CIE LAB | lab(58.49, 2.67, -11.71) | |
| CIE LCH | lch(58.49, 12.01, 282.84) | |
| CIE XYZ | xyz(25.801, 26.48, 37.463) | |
| Decimal | 8883361 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878CA1, 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 #878CA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.3:1 | Pass | Fail | Pass |
| Sample text | 3.34:1 | Fail | Fail | Pass |
| #878CA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.34:1 | Fail | Fail | Pass |
| Sample text | 6.3: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 #878CA1 looks to people with the most common types of color vision deficiency.
#868ea2Protanopia
no red cones#858ca0Deuteranopia
no green cones#819093Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #878ca1; }
.text { color: #878ca1; }
.border { border: 2px solid #878ca1; }
.transparent { background-color: rgb(135 140 161 / 50%); }
.gradient { background: linear-gradient(to right, #878ca1, #8f87a1); }
Similar colors
#8c92acCool Gray#888899Dusty Chimney#8d95aaSilverfish#838996Roman Silver#79839bTempest#848393Mecha Metal#9596a4Too Big to Whale#8d99b1Moon Veil
Questions
- What color is #878CA1?
- #878CA1 is a grayish blue, closest to the named color Cool Gray. It belongs to the gray family of colors.
- What is the RGB value of #878CA1?
- The RGB value is 135, 140, 161: 135 red, 140 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #878CA1?
- The complementary color is #A19C87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878CA1?
- Black text. Black text has a contrast ratio of 6.3:1 and white text 3.34:1. WCAG asks for at least 4.5:1 for normal text.