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.

FormatValue
HEX#A9A9A9
RGBrgb(169, 169, 169)
HSLhsl(0, 0%, 66%)
CMYK0%, 0%, 0%, 34%
CSS namedarkgray
.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.

#F6F6F690% white
#EAEAEA75% white
#DDDDDD60% white
#D0D0D045% white
#C3C3C330% white
#B6B6B615% white
#A9A9A9Base
Dark Gray
#90909015% black
#76767630% black
#5D5D5D45% black
#44444460% black
#2A2A2A75% black
#11111190% black

Contrast and readability

Black text
8.94:1
passes AA and AAA
White text
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.