#878798 color
The hex color #878798 is a gray.
In the RGB color model it is made of 52.9% red, 52.9% green and 59.6% blue (135, 135, 152).
Its hue angle is 240°, with 8% saturation and 56% lightness. For print, the CMYK equivalent is 11% cyan, 11% magenta, 0% yellow and 40% black.
The closest named color is Dusty Chimney (#888899), a difference of 0.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.95:1).
#878798 color codes
| HEX | #878798 | |
|---|---|---|
| RGB | rgb(135, 135, 152) | |
| RGB percent | rgb(52.9%, 52.9%, 59.6%) | |
| HSL | hsl(240, 8%, 56%) | |
| HSV / HSB | hsv(240, 11%, 60%) | |
| CMYK | cmyk(11%, 11%, 0%, 40%) | |
| CIE LAB | lab(56.83, 3.53, -9.04) | |
| CIE LCH | lch(56.83, 9.71, 291.31) | |
| CIE XYZ | xyz(24.322, 24.746, 33.195) | |
| Decimal | 8882072 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878798, 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 #878798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.95:1 | Pass | Fail | Pass |
| Sample text | 3.53:1 | Fail | Fail | Pass |
| #878798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.53:1 | Fail | Fail | Pass |
| Sample text | 5.95: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 #878798 looks to people with the most common types of color vision deficiency.
#838999Protanopia
no red cones#838898Deuteranopia
no green cones#848a8cTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #878798; }
.text { color: #878798; }
.border { border: 2px solid #878798; }
.transparent { background-color: rgb(135 135 152 / 50%); }
.gradient { background: linear-gradient(to right, #878798, #908798); }
Similar colors
#888899Dusty Chimney#848393Mecha Metal#84838eIn the Twilight#838996Roman Silver#7e7d88Silver Surfer#787e93Your Shadow#79839bTempest#9596a4Too Big to Whale
Closest common color name: Cool Gray.
Questions
- What color is #878798?
- #878798 is a gray, closest to the named color Dusty Chimney. It belongs to the gray family of colors.
- What is the RGB value of #878798?
- The RGB value is 135, 135, 152: 135 red, 135 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #878798?
- The complementary color is #989887, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878798?
- Black text. Black text has a contrast ratio of 5.95:1 and white text 3.53:1. WCAG asks for at least 4.5:1 for normal text.