#9BA8A5 color
The hex color #9BA8A5 is a gray.
In the RGB color model it is made of 60.8% red, 65.9% green and 64.7% blue (155, 168, 165).
Its hue angle is 166°, with 7% saturation and 63% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 2% yellow and 34% black.
The closest named color is Crown of Ash (#A1A9A9), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.54:1).
#9BA8A5 color codes
| HEX | #9BA8A5 | |
|---|---|---|
| RGB | rgb(155, 168, 165) | |
| RGB percent | rgb(60.8%, 65.9%, 64.7%) | |
| HSL | hsl(166, 7%, 63%) | |
| HSV / HSB | hsv(166, 8%, 66%) | |
| CMYK | cmyk(8%, 0%, 2%, 34%) | |
| CIE LAB | lab(67.79, -5.16, -0.02) | |
| CIE LCH | lch(67.79, 5.16, 180.25) | |
| CIE XYZ | xyz(34.31, 37.69, 41.057) | |
| Decimal | 10201253 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9BA8A5, 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 #9BA8A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.54:1 | Pass | Pass | Pass |
| Sample text | 2.46:1 | Fail | Fail | Fail |
| #9BA8A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.46:1 | Fail | Fail | Fail |
| Sample text | 8.54: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 #9BA8A5 looks to people with the most common types of color vision deficiency.
#a7a6a5Protanopia
no red cones#a4a4a5Deuteranopia
no green cones#98a9a7Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #9ba8a5; }
.text { color: #9ba8a5; }
.border { border: 2px solid #9ba8a5; }
.transparent { background-color: rgb(155 168 165 / 50%); }
.gradient { background: linear-gradient(to right, #9ba8a5, #9ba4a8); }
Similar colors
#a1a9a9Crown of Ash#9aafafStormy Bay#9fa5a5Silent Film#a9afaaPigeon#9ea4a5Statuary#a9b4a9Alpine Air#98b2b4Ether#979ea1Happy Cement
Closest common color name: Dark Gray.
Questions
- What color is #9BA8A5?
- #9BA8A5 is a gray, closest to the named color Crown of Ash. It belongs to the gray family of colors.
- What is the RGB value of #9BA8A5?
- The RGB value is 155, 168, 165: 155 red, 168 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #9BA8A5?
- The complementary color is #A89B9E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9BA8A5?
- Black text. Black text has a contrast ratio of 8.54:1 and white text 2.46:1. WCAG asks for at least 4.5:1 for normal text.