#7E879E color
The hex color #7E879E is a grayish blue.
In the RGB color model it is made of 49.4% red, 52.9% green and 62% blue (126, 135, 158).
Its hue angle is 223°, with 14% saturation and 56% lightness. For print, the CMYK equivalent is 20% cyan, 15% magenta, 0% yellow and 38% black.
The closest named color is Tempest (#79839B), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.85:1).
#7E879E color codes
| HEX | #7E879E | |
|---|---|---|
| RGB | rgb(126, 135, 158) | |
| RGB percent | rgb(49.4%, 52.9%, 62%) | |
| HSL | hsl(223, 14%, 56%) | |
| HSV / HSB | hsv(223, 20%, 62%) | |
| CMYK | cmyk(20%, 15%, 0%, 38%) | |
| CIE LAB | lab(56.32, 1.82, -13.33) | |
| CIE LCH | lch(56.32, 13.45, 277.79) | |
| CIE XYZ | xyz(23.438, 24.232, 35.783) | |
| Decimal | 8292254 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E879E, 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 #7E879E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.85:1 | Pass | Fail | Pass |
| Sample text | 3.59:1 | Fail | Fail | Pass |
| #7E879E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.59:1 | Fail | Fail | Pass |
| Sample text | 5.85: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 #7E879E looks to people with the most common types of color vision deficiency.
#80899fProtanopia
no red cones#7e869dDeuteranopia
no green cones#768b8eTritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #7e879e; }
.text { color: #7e879e; }
.border { border: 2px solid #7e879e; }
.transparent { background-color: rgb(126 135 158 / 50%); }
.gradient { background: linear-gradient(to right, #7e879e, #857e9e); }
Similar colors
#79839bTempest#74819aStonewash#787e93Your Shadow#838996Roman Silver#888899Dusty Chimney#8c92acCool Gray#6e7e99Infinity and Beyond#7181a4English Manor
Questions
- What color is #7E879E?
- #7E879E is a grayish blue, closest to the named color Tempest. It belongs to the blue family of colors.
- What is the RGB value of #7E879E?
- The RGB value is 126, 135, 158: 126 red, 135 green and 158 blue on a 0 to 255 scale.
- What is the complementary color of #7E879E?
- The complementary color is #9E957E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E879E?
- Black text. Black text has a contrast ratio of 5.85:1 and white text 3.59:1. WCAG asks for at least 4.5:1 for normal text.