#8E8EA1 color
The hex color #8E8EA1 is a grayish blue.
In the RGB color model it is made of 55.7% red, 55.7% green and 63.1% blue (142, 142, 161).
Its hue angle is 240°, with 9% saturation and 59% lightness. For print, the CMYK equivalent is 12% cyan, 12% magenta, 0% yellow and 37% black.
The closest named color is Dusty Chimney (#888899), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.53:1).
#8E8EA1 color codes
| HEX | #8E8EA1 | |
|---|---|---|
| RGB | rgb(142, 142, 161) | |
| RGB percent | rgb(55.7%, 55.7%, 63.1%) | |
| HSL | hsl(240, 9%, 59%) | |
| HSV / HSB | hsv(240, 12%, 63%) | |
| CMYK | cmyk(12%, 12%, 0%, 37%) | |
| CIE LAB | lab(59.59, 3.92, -10.01) | |
| CIE LCH | lch(59.59, 10.75, 291.39) | |
| CIE XYZ | xyz(27.26, 27.67, 37.616) | |
| Decimal | 9342625 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8E8EA1, 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 #8E8EA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.53:1 | Pass | Fail | Pass |
| Sample text | 3.21:1 | Fail | Fail | Pass |
| #8E8EA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.21:1 | Fail | Fail | Pass |
| Sample text | 6.53: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 #8E8EA1 looks to people with the most common types of color vision deficiency.
#8a90a2Protanopia
no red cones#898fa0Deuteranopia
no green cones#8a9194Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #8e8ea1; }
.text { color: #8e8ea1; }
.border { border: 2px solid #8e8ea1; }
.transparent { background-color: rgb(142 142 161 / 50%); }
.gradient { background: linear-gradient(to right, #8e8ea1, #988ea1); }
Similar colors
#888899Dusty Chimney#9596a4Too Big to Whale#8c92acCool Gray#9999aaMachinery#9998a7Lavender Ash#848393Mecha Metal#8d95aaSilverfish#9698a3Dark Ages
Questions
- What color is #8E8EA1?
- #8E8EA1 is a grayish blue, closest to the named color Dusty Chimney. It belongs to the gray family of colors.
- What is the RGB value of #8E8EA1?
- The RGB value is 142, 142, 161: 142 red, 142 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #8E8EA1?
- The complementary color is #A1A18E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8E8EA1?
- Black text. Black text has a contrast ratio of 6.53:1 and white text 3.21:1. WCAG asks for at least 4.5:1 for normal text.