#7E8CA2 color
The hex color #7E8CA2 is a grayish azure.
In the RGB color model it is made of 49.4% red, 54.9% green and 63.5% blue (126, 140, 162).
Its hue angle is 217°, with 16% saturation and 56% lightness. For print, the CMYK equivalent is 22% cyan, 14% magenta, 0% yellow and 36% black.
The closest named color is Light Slate Gray (#778899), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.16:1).
#7E8CA2 color codes
| HEX | #7E8CA2 | |
|---|---|---|
| RGB | rgb(126, 140, 162) | |
| RGB percent | rgb(49.4%, 54.9%, 63.5%) | |
| HSL | hsl(217, 16%, 56%) | |
| HSV / HSB | hsv(217, 22%, 64%) | |
| CMYK | cmyk(22%, 14%, 0%, 36%) | |
| CIE LAB | lab(57.85, -0.09, -13.32) | |
| CIE LCH | lch(57.85, 13.32, 269.63) | |
| CIE XYZ | xyz(24.502, 25.8, 37.864) | |
| Decimal | 8293538 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E8CA2, 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 #7E8CA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.16:1 | Pass | Fail | Pass |
| Sample text | 3.41:1 | Fail | Fail | Pass |
| #7E8CA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.41:1 | Fail | Fail | Pass |
| Sample text | 6.16: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 #7E8CA2 looks to people with the most common types of color vision deficiency.
#858da3Protanopia
no red cones#8189a2Deuteranopia
no green cones#759193Tritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #7e8ca2; }
.text { color: #7e8ca2; }
.border { border: 2px solid #7e8ca2; }
.transparent { background-color: rgb(126 140 162 / 50%); }
.gradient { background: linear-gradient(to right, #7e8ca2, #827ea2); }
Similar colors
#778899Light Slate Gray#79839bTempest#838996Roman Silver#74819aStonewash#8d95aaSilverfish#7c94b3Celestial Horizon#7f8793Sea Lion#8d99b1Moon Veil
Questions
- What color is #7E8CA2?
- #7E8CA2 is a grayish azure, closest to the named color Light Slate Gray. It belongs to the blue family of colors.
- What is the RGB value of #7E8CA2?
- The RGB value is 126, 140, 162: 126 red, 140 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #7E8CA2?
- The complementary color is #A2947E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E8CA2?
- Black text. Black text has a contrast ratio of 6.16:1 and white text 3.41:1. WCAG asks for at least 4.5:1 for normal text.