Dark Gray Color
HEX #A9A9A9 · rgb(169, 169, 169) · hsl(0, 0%, 66%)
Dark Gray color codes
Dark Gray is one of the named colors every browser understands. In CSS you can write it as darkgray or #A9A9A9. The spelling "darkgrey" is an exact synonym.
| Format | Value | |
|---|---|---|
| HEX | #A9A9A9 | |
| RGB | rgb(169, 169, 169) | |
| HSL | hsl(0, 0%, 66%) | |
| CMYK | 0%, 0%, 0%, 34% | |
| CSS name | darkgray |
.example {
color: darkgray;
background-color: #A9A9A9;
border-color: rgb(169, 169, 169);
}
Tints and shades of dark gray
Tints mix the color with white; shades mix it with black.
Dark Gray
Contrast and readability
8.94:1
passes AA and AAA
2.35:1
fails
Use black text on dark gray. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for dark gray?
The hex code for dark gray is #A9A9A9.
What is the RGB value of dark gray?
Dark Gray is rgb(169, 169, 169): 169 red, 169 green and 169 blue on a 0 to 255 scale.
Does dark gray have a complementary color?
No. Dark Gray has no hue, so it has no complement. It pairs with any color.
Should text on dark gray be black or white?
Use black text. The contrast ratio is 8.94:1 with black and 2.35:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.