Dark Gray color values
| Format | Value |
|---|---|
| Hex | #A9A9A9 |
| RGB | rgb(169, 169, 169) |
| HSL | hsl(0, 0%, 66%) |
| HSV | 0, 0%, 66% |
| CMYK (simple conversion) | 0%, 0%, 0%, 34% |
| Decimal | 11119017 |
CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.
About Dark Gray
Dark gray is a medium dark shade of gray that sits between lighter grays and near black tones. Designers often use it for secondary text, borders, or subtle backgrounds in user interfaces. It provides contrast without the harshness of pure black, making it common in web design and app layouts. It is one of the 148 CSS named colors.
Shades and tints of Dark Gray
Tints mix Dark Gray with white and shades mix it with black. Each step changes the color by 10 percentage points.
| Step | Tint (towards white) | Shade (towards black) |
|---|---|---|
| 10% | #B2B2B2 | #989898 |
| 20% | #BABABA | #878787 |
| 30% | #C3C3C3 | #767676 |
| 40% | #CBCBCB | #656565 |
| 50% | #D4D4D4 | #555555 |
Color harmony for Dark Gray
These colors keep the same saturation and lightness as Dark Gray and rotate the hue around the color wheel.
| Scheme | Colors |
|---|---|
| Complementary | #A9A9A9 |
| Analogous | #A9A9A9 #A9A9A9 |
| Triadic | #A9A9A9 #A9A9A9 |
| Split complementary | #A9A9A9 #A9A9A9 |
Contrast and accessibility
Contrast between #A9A9A9 and white is 2.35:1 (fails). Against black it is 8.94:1 (passes AAA). For text on a Dark Gray background, black text is the more readable choice.
Use Dark Gray in CSS
.element {
color: darkgray;
background-color: #A9A9A9;
border-color: rgb(169 169 169);
outline-color: hsl(0 0% 66%);
}All four lines produce exactly the same color. The keyword darkgray is one of the CSS named colors, so it works in every browser without a color function.
Similar named colors
FAQ
What is the hex code for Dark Gray?
The hex code for Dark Gray is #A9A9A9. As a CSS color keyword you can also write darkgray.
What is Dark Gray in RGB?
Dark Gray is rgb(169, 169, 169): red 169, green 169, blue 169 on the 0 to 255 scale.
What color is closest to Dark Gray?
Of the CSS named colors, silver (#C0C0C0) is the closest match to Dark Gray, followed by darkseagreen and rosybrown.
More colors
- Dark Cyan: previous page
- Dark Green: next page
- CSS named colors: the full list