#9EA2AF color
The hex color #9EA2AF is a light, grayish blue.
In the RGB color model it is made of 62% red, 63.5% green and 68.6% blue (158, 162, 175).
Its hue angle is 226°, with 10% saturation and 65% lightness. For print, the CMYK equivalent is 10% cyan, 7% magenta, 0% yellow and 31% black.
The closest named color is Dusky Mood (#979BA8), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.24:1).
#9EA2AF color codes
| HEX | #9EA2AF | |
|---|---|---|
| RGB | rgb(158, 162, 175) | |
| RGB percent | rgb(62%, 63.5%, 68.6%) | |
| HSL | hsl(226, 10%, 65%) | |
| HSV / HSB | hsv(226, 10%, 69%) | |
| CMYK | cmyk(10%, 7%, 0%, 31%) | |
| CIE LAB | lab(66.68, 1.19, -7.21) | |
| CIE LCH | lch(66.68, 7.3, 279.37) | |
| CIE XYZ | xyz(34.757, 36.205, 45.706) | |
| Decimal | 10396335 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9EA2AF, 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 #9EA2AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.24:1 | Pass | Pass | Pass |
| Sample text | 2.55:1 | Fail | Fail | Fail |
| #9EA2AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.24:1 | Pass | Pass | 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 #9EA2AF looks to people with the most common types of color vision deficiency.
#9fa3b0Protanopia
no red cones#9da2afDeuteranopia
no green cones#9aa4a6Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #9ea2af; }
.text { color: #9ea2af; }
.border { border: 2px solid #9ea2af; }
.transparent { background-color: rgb(158 162 175 / 50%); }
.gradient { background: linear-gradient(to right, #9ea2af, #a39eaf); }
Similar colors
#979ba8Dusky Mood#9698a3Dark Ages#9999aaMachinery#9596a4Too Big to Whale#9998a7Lavender Ash#94a2b1Robotic Gods#91979fGrisaille#8d95aaSilverfish
Closest common color name: Dark Gray.
Questions
- What color is #9EA2AF?
- #9EA2AF is a light, grayish blue, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #9EA2AF?
- The RGB value is 158, 162, 175: 158 red, 162 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #9EA2AF?
- The complementary color is #AFAB9E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9EA2AF?
- Black text. Black text has a contrast ratio of 8.24:1 and white text 2.55:1. WCAG asks for at least 4.5:1 for normal text.