#7E8FAC color
The hex color #7E8FAC is a grayish azure.
In the RGB color model it is made of 49.4% red, 56.1% green and 67.5% blue (126, 143, 172).
Its hue angle is 218°, with 22% saturation and 58% lightness. For print, the CMYK equivalent is 27% cyan, 17% magenta, 0% yellow and 33% black.
The closest named color is Celestial Horizon (#7C94B3), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.41:1).
#7E8FAC color codes
| HEX | #7E8FAC | |
|---|---|---|
| RGB | rgb(126, 143, 172) | |
| RGB percent | rgb(49.4%, 56.1%, 67.5%) | |
| HSL | hsl(218, 22%, 58%) | |
| HSV / HSB | hsv(218, 27%, 67%) | |
| CMYK | cmyk(27%, 17%, 0%, 33%) | |
| CIE LAB | lab(59.03, 0.64, -17.24) | |
| CIE LCH | lch(59.03, 17.25, 272.12) | |
| CIE XYZ | xyz(25.871, 27.058, 42.881) | |
| Decimal | 8294316 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E8FAC, 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 #7E8FAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.41:1 | Pass | Fail | Pass |
| Sample text | 3.28:1 | Fail | Fail | Pass |
| #7E8FAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.28:1 | Fail | Fail | Pass |
| Sample text | 6.41: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 #7E8FAC looks to people with the most common types of color vision deficiency.
#8590adProtanopia
no red cones#818cabDeuteranopia
no green cones#729598Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #7e8fac; }
.text { color: #7e8fac; }
.border { border: 2px solid #7e8fac; }
.transparent { background-color: rgb(126 143 172 / 50%); }
.gradient { background: linear-gradient(to right, #7e8fac, #847eac); }
Similar colors
#7c94b3Celestial Horizon#8d99b1Moon Veil#869cbbSailing#8d95aaSilverfish#7f8cb8Galactic Gossamer#8c92acCool Gray#7794c0King Neptune#79839bTempest
Questions
- What color is #7E8FAC?
- #7E8FAC is a grayish azure, closest to the named color Celestial Horizon. It belongs to the blue family of colors.
- What is the RGB value of #7E8FAC?
- The RGB value is 126, 143, 172: 126 red, 143 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #7E8FAC?
- The complementary color is #AC9B7E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E8FAC?
- Black text. Black text has a contrast ratio of 6.41:1 and white text 3.28:1. WCAG asks for at least 4.5:1 for normal text.