#878CA3 color
The hex color #878CA3 is a grayish blue.
In the RGB color model it is made of 52.9% red, 54.9% green and 63.9% blue (135, 140, 163).
Its hue angle is 229°, with 13% saturation and 58% lightness. For print, the CMYK equivalent is 17% cyan, 14% magenta, 0% yellow and 36% black.
The closest named color is Cool Gray (#8C92AC), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.31:1).
#878CA3 color codes
| HEX | #878CA3 | |
|---|---|---|
| RGB | rgb(135, 140, 163) | |
| RGB percent | rgb(52.9%, 54.9%, 63.9%) | |
| HSL | hsl(229, 13%, 58%) | |
| HSV / HSB | hsv(229, 17%, 64%) | |
| CMYK | cmyk(17%, 14%, 0%, 36%) | |
| CIE LAB | lab(58.56, 3.12, -12.76) | |
| CIE LCH | lch(58.56, 13.13, 283.76) | |
| CIE XYZ | xyz(25.979, 26.551, 38.399) | |
| Decimal | 8883363 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878CA3, 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 #878CA3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.31:1 | Pass | Fail | Pass |
| Sample text | 3.33:1 | Fail | Fail | Pass |
| #878CA3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.33:1 | Fail | Fail | Pass |
| Sample text | 6.31: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 #878CA3 looks to people with the most common types of color vision deficiency.
#868ea4Protanopia
no red cones#848ca2Deuteranopia
no green cones#819093Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #878ca3; }
.text { color: #878ca3; }
.border { border: 2px solid #878ca3; }
.transparent { background-color: rgb(135 140 163 / 50%); }
.gradient { background: linear-gradient(to right, #878ca3, #9087a3); }
Similar colors
#8c92acCool Gray#888899Dusty Chimney#8d95aaSilverfish#79839bTempest#848393Mecha Metal#838996Roman Silver#8d99b1Moon Veil#9596a4Too Big to Whale
Questions
- What color is #878CA3?
- #878CA3 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 #878CA3?
- The RGB value is 135, 140, 163: 135 red, 140 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #878CA3?
- The complementary color is #A39E87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878CA3?
- Black text. Black text has a contrast ratio of 6.31:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.