#8E8FA5 color
The hex color #8E8FA5 is a grayish blue.
In the RGB color model it is made of 55.7% red, 56.1% green and 64.7% blue (142, 143, 165).
Its hue angle is 237°, with 11% saturation and 60% lightness. For print, the CMYK equivalent is 14% cyan, 13% magenta, 0% yellow and 35% black.
The closest named color is Cool Gray (#8C92AC), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.62:1).
#8E8FA5 color codes
| HEX | #8E8FA5 | |
|---|---|---|
| RGB | rgb(142, 143, 165) | |
| RGB percent | rgb(55.7%, 56.1%, 64.7%) | |
| HSL | hsl(237, 11%, 60%) | |
| HSV / HSB | hsv(237, 14%, 65%) | |
| CMYK | cmyk(14%, 13%, 0%, 35%) | |
| CIE LAB | lab(59.99, 4.23, -11.69) | |
| CIE LCH | lch(59.99, 12.43, 289.89) | |
| CIE XYZ | xyz(27.768, 28.112, 39.553) | |
| Decimal | 9342885 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8E8FA5, 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 #8E8FA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.62:1 | Pass | Fail | Pass |
| Sample text | 3.17:1 | Fail | Fail | Pass |
| #8E8FA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.62: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 #8E8FA5 looks to people with the most common types of color vision deficiency.
#8a91a6Protanopia
no red cones#8990a4Deuteranopia
no green cones#899396Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #8e8fa5; }
.text { color: #8e8fa5; }
.border { border: 2px solid #8e8fa5; }
.transparent { background-color: rgb(142 143 165 / 50%); }
.gradient { background: linear-gradient(to right, #8e8fa5, #998ea5); }
Similar colors
#8c92acCool Gray#888899Dusty Chimney#8d95aaSilverfish#9999aaMachinery#9596a4Too Big to Whale#9998a7Lavender Ash#848393Mecha Metal#8d99b1Moon Veil
Questions
- What color is #8E8FA5?
- #8E8FA5 is a grayish blue, closest to the named color Cool Gray. It belongs to the gray family of colors.
- What is the RGB value of #8E8FA5?
- The RGB value is 142, 143, 165: 142 red, 143 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #8E8FA5?
- The complementary color is #A5A48E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8E8FA5?
- Black text. Black text has a contrast ratio of 6.62:1 and white text 3.17:1. WCAG asks for at least 4.5:1 for normal text.