Dark text passes AAA
8.94:1

Dark Gray

#A9A9A9
PNG

The dark gray hex code is #A9A9A9, and its RGB value is 169, 169, 169.

Dark grey (also written dark gray) here is the CSS color darkgray, #A9A9A9, which is surprisingly lighter than plain CSS gray #808080. If you picture a truly dark gray, a shade like #555555 is closer. On #A9A9A9 itself, black text reads well at 8.9:1, while white text fails at 2.4:1.

Dark Gray color codes

HEX#A9A9A9
RGBrgb(169, 169, 169)
HSLhsl(0, 0%, 66%)
OKLCHoklch(73.5% 0 0)
CMYKcmyk(0%, 0%, 0%, 34%)
CMYK is an approximate screen conversion, not for print matching.

Shades of dark gray

Ten lighter and ten darker shades of dark gray, with dark gray in the middle. Click a shade to copy its hex code.

LightestDark Gray #A9A9A9Darkest

Readability

White text on dark grayNormal text at 16px. The quick brown fox jumps over the lazy dog.
2.35:1
  • Fails AA and AAA
Dark text on dark grayNormal text at 16px. The quick brown fox jumps over the lazy dog.
8.94:1
  • Passes AA normal
  • Passes AA large
  • Passes AAA normal
  • Passes AAA large

Colors that go with dark gray

#A9A9A9#A9A9A9

Complementary

The opposite on the color wheel
#A9A9A9#A9A9A9#A9A9A9

Analogous

Its two neighbors
#A9A9A9#A9A9A9#A9A9A9

Triadic

Three evenly spaced colors
#A9A9A9#A9A9A9#A9A9A9

Split-complementary

The two colors beside its opposite

Dark Gray color palettes

Monochrome

Lighter and darker versions of the same color.

Analogous

Neighbors on the color wheel, for a calm, related look.

Complementary

The color with its opposite, for strong contrast.

Triadic

Three colors evenly spaced around the wheel, with a light and dark version.

Dark Gray background

Plain and gradient dark gray backgrounds for phone and desktop wallpapers, slides and mockups, free to download.

Solid dark gray background

Dark Gray gradient background

Questions about dark gray

What is the hex code for dark gray?

The hex code for dark gray is #A9A9A9. In RGB it's rgb(169, 169, 169), and in HSL it's hsl(0, 0%, 66%).

What is the RGB value of dark gray?

Dark Gray is rgb(169, 169, 169) in RGB: 169 red, 169 green and 169 blue on a 0-255 scale.

What colors go with dark gray?

Its complementary color is #A9A9A9. For a calmer look, try the analogous colors #A9A9A9 and #A9A9A9, or one of the palettes above, which all include dark gray.

Is text readable on dark gray?

Dark text is the better choice, with a contrast ratio of 8.94:1. That passes WCAG AA for normal text.

Why is CSS dark gray lighter than gray?

CSS took gray (#808080) from the original HTML color list and darkgray (#A9A9A9) from the X11 color names, where gray was the much lighter #BEBEBE. Next to X11's gray, darkgray really was darker; next to CSS gray, it's lighter.