#9DA2AB color
The hex color #9DA2AB is a gray.
In the RGB color model it is made of 61.6% red, 63.5% green and 67.1% blue (157, 162, 171).
Its hue angle is 219°, with 8% saturation and 64% lightness. For print, the CMYK equivalent is 8% cyan, 5% magenta, 0% yellow and 33% black.
The closest named color is Dusky Mood (#979BA8), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.19:1).
#9DA2AB color codes
| HEX | #9DA2AB | |
|---|---|---|
| RGB | rgb(157, 162, 171) | |
| RGB percent | rgb(61.6%, 63.5%, 67.1%) | |
| HSL | hsl(219, 8%, 64%) | |
| HSV / HSB | hsv(219, 8%, 67%) | |
| CMYK | cmyk(8%, 5%, 0%, 33%) | |
| CIE LAB | lab(66.48, 0.02, -5.27) | |
| CIE LCH | lch(66.48, 5.27, 270.22) | |
| CIE XYZ | xyz(34.174, 35.949, 43.659) | |
| Decimal | 10330795 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9DA2AB, 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 #9DA2AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.19:1 | Pass | Pass | Pass |
| Sample text | 2.56:1 | Fail | Fail | Fail |
| #9DA2AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.19: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 #9DA2AB looks to people with the most common types of color vision deficiency.
#9fa2abProtanopia
no red cones#9ea1abDeuteranopia
no green cones#9aa4a5Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #9da2ab; }
.text { color: #9da2ab; }
.border { border: 2px solid #9da2ab; }
.transparent { background-color: rgb(157 162 171 / 50%); }
.gradient { background: linear-gradient(to right, #9da2ab, #9f9dab); }
Similar colors
#979ba8Dusky Mood#9698a3Dark Ages#91979fGrisaille#94a2b1Robotic Gods#979ea1Happy Cement#9ea4a5Statuary#8d9ca7Lost at Sea#90979bSteely Gray
Closest common color name: Dark Gray.
Questions
- What color is #9DA2AB?
- #9DA2AB is a gray, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #9DA2AB?
- The RGB value is 157, 162, 171: 157 red, 162 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #9DA2AB?
- The complementary color is #ABA69D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9DA2AB?
- Black text. Black text has a contrast ratio of 8.19:1 and white text 2.56:1. WCAG asks for at least 4.5:1 for normal text.