#9BA2A7 color
The hex color #9BA2A7 is a gray.
In the RGB color model it is made of 60.8% red, 63.5% green and 65.5% blue (155, 162, 167).
Its hue angle is 205°, with 6% saturation and 63% lightness. For print, the CMYK equivalent is 7% cyan, 3% magenta, 0% yellow and 35% black.
The closest named color is Happy Cement (#979EA1), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.12:1).
#9BA2A7 color codes
| HEX | #9BA2A7 | |
|---|---|---|
| RGB | rgb(155, 162, 167) | |
| RGB percent | rgb(60.8%, 63.5%, 65.5%) | |
| HSL | hsl(205, 6%, 63%) | |
| HSV / HSB | hsv(205, 7%, 65%) | |
| CMYK | cmyk(7%, 3%, 0%, 35%) | |
| CIE LAB | lab(66.21, -1.49, -3.45) | |
| CIE LCH | lch(66.21, 3.76, 246.69) | |
| CIE XYZ | xyz(33.412, 35.599, 41.663) | |
| Decimal | 10199719 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9BA2A7, 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 #9BA2A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.12:1 | Pass | Pass | Pass |
| Sample text | 2.59:1 | Fail | Fail | Fail |
| #9BA2A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.12: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 #9BA2A7 looks to people with the most common types of color vision deficiency.
#a0a2a7Protanopia
no red cones#9ea0a7Deuteranopia
no green cones#98a3a4Tritanopia
no blue cones#a1a1a1Achromatopsia
no color vision
CSS examples
.background { background-color: #9ba2a7; }
.text { color: #9ba2a7; }
.border { border: 2px solid #9ba2a7; }
.transparent { background-color: rgb(155 162 167 / 50%); }
.gradient { background: linear-gradient(to right, #9ba2a7, #9b9ca7); }
Similar colors
#979ea1Happy Cement#9ea4a5Statuary#9fa5a5Silent Film#a1a9a9Crown of Ash#90979bSteely Gray#999b9bWalrus#91979fGrisaille#a6a6a6Quicksilver
Closest common color name: Dark Gray.
Questions
- What color is #9BA2A7?
- #9BA2A7 is a gray, closest to the named color Happy Cement. It belongs to the gray family of colors.
- What is the RGB value of #9BA2A7?
- The RGB value is 155, 162, 167: 155 red, 162 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #9BA2A7?
- The complementary color is #A7A09B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9BA2A7?
- Black text. Black text has a contrast ratio of 8.12:1 and white text 2.59:1. WCAG asks for at least 4.5:1 for normal text.