#7E8FAF color
The hex color #7E8FAF is a grayish azure.
In the RGB color model it is made of 49.4% red, 56.1% green and 68.6% blue (126, 143, 175).
Its hue angle is 219°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 28% cyan, 18% magenta, 0% yellow and 31% black.
The closest named color is Celestial Horizon (#7C94B3), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.44:1).
#7E8FAF color codes
| HEX | #7E8FAF | |
|---|---|---|
| RGB | rgb(126, 143, 175) | |
| RGB percent | rgb(49.4%, 56.1%, 68.6%) | |
| HSL | hsl(219, 23%, 59%) | |
| HSV / HSB | hsv(219, 28%, 69%) | |
| CMYK | cmyk(28%, 18%, 0%, 31%) | |
| CIE LAB | lab(59.14, 1.39, -18.78) | |
| CIE LCH | lch(59.14, 18.83, 274.23) | |
| CIE XYZ | xyz(26.162, 27.175, 44.416) | |
| Decimal | 8294319 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E8FAF, 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 #7E8FAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.44:1 | Pass | Fail | Pass |
| Sample text | 3.26:1 | Fail | Fail | Pass |
| #7E8FAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.44: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 #7E8FAF looks to people with the most common types of color vision deficiency.
#8591b1Protanopia
no red cones#808caeDeuteranopia
no green cones#71959aTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #7e8faf; }
.text { color: #7e8faf; }
.border { border: 2px solid #7e8faf; }
.transparent { background-color: rgb(126 143 175 / 50%); }
.gradient { background: linear-gradient(to right, #7e8faf, #857eaf); }
Similar colors
#7c94b3Celestial Horizon#7f8cb8Galactic Gossamer#7794c0King Neptune#8d99b1Moon Veil#869cbbSailing#8c92acCool Gray#8d95aaSilverfish#7181a4English Manor
Questions
- What color is #7E8FAF?
- #7E8FAF 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 #7E8FAF?
- The RGB value is 126, 143, 175: 126 red, 143 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #7E8FAF?
- The complementary color is #AF9E7E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E8FAF?
- Black text. Black text has a contrast ratio of 6.44:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.