#7E8CA6 color
The hex color #7E8CA6 is a grayish azure.
In the RGB color model it is made of 49.4% red, 54.9% green and 65.1% blue (126, 140, 166).
Its hue angle is 219°, with 18% saturation and 57% lightness. For print, the CMYK equivalent is 24% cyan, 16% magenta, 0% yellow and 35% black.
The closest named color is Tempest (#79839B), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.19:1).
#7E8CA6 color codes
| HEX | #7E8CA6 | |
|---|---|---|
| RGB | rgb(126, 140, 166) | |
| RGB percent | rgb(49.4%, 54.9%, 65.1%) | |
| HSL | hsl(219, 18%, 57%) | |
| HSV / HSB | hsv(219, 24%, 65%) | |
| CMYK | cmyk(24%, 16%, 0%, 35%) | |
| CIE LAB | lab(57.98, 0.88, -15.4) | |
| CIE LCH | lch(57.98, 15.43, 273.26) | |
| CIE XYZ | xyz(24.863, 25.944, 39.767) | |
| Decimal | 8293542 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E8CA6, 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 #7E8CA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.19:1 | Pass | Fail | Pass |
| Sample text | 3.39:1 | Fail | Fail | Pass |
| #7E8CA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.39:1 | Fail | Fail | Pass |
| Sample text | 6.19: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 #7E8CA6 looks to people with the most common types of color vision deficiency.
#848da7Protanopia
no red cones#808aa5Deuteranopia
no green cones#749194Tritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #7e8ca6; }
.text { color: #7e8ca6; }
.border { border: 2px solid #7e8ca6; }
.transparent { background-color: rgb(126 140 166 / 50%); }
.gradient { background: linear-gradient(to right, #7e8ca6, #847ea6); }
Similar colors
#79839bTempest#74819aStonewash#7c94b3Celestial Horizon#8d95aaSilverfish#8c92acCool Gray#8d99b1Moon Veil#7181a4English Manor#778899Light Slate Gray
Questions
- What color is #7E8CA6?
- #7E8CA6 is a grayish azure, closest to the named color Tempest. It belongs to the blue family of colors.
- What is the RGB value of #7E8CA6?
- The RGB value is 126, 140, 166: 126 red, 140 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #7E8CA6?
- The complementary color is #A6987E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E8CA6?
- Black text. Black text has a contrast ratio of 6.19:1 and white text 3.39:1. WCAG asks for at least 4.5:1 for normal text.