darkgray (#A9A9A9)

darkgray is a CSS named color with the hex code #A9A9A9, rgb(169, 169, 169). It is a light, neutral gray.

darkgray#A9A9A9
Keyworddarkgray
HEX#a9a9a9
RGBrgb(169, 169, 169)
HSLhsl(0, 0%, 66%)

Full #A9A9A9 details: palettes, shades, color-blind view →

Description

Darkgray has a hue of 0°, saturation 0% and lightness 66%, which places it in the gray family. The "dark" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080). It is identical to darkgrey; both keywords produce #A9A9A9.

Using darkgray in CSS

.title { color: darkgray; }
.box   { background: darkgray; border-color: #a9a9a9; }
.soft  { background: rgb(169 169 169 / 20%); }   /* darkgray at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
silver#c0c0c0192, 192, 1926.3
lightgray#d3d3d3211, 211, 21111
gainsboro#dcdcdc220, 220, 22013
lightsteelblue#b0c4de176, 196, 22213.3
gray#808080128, 128, 12813.5
lightslategray#778899119, 136, 15314.6
thistle#d8bfd8216, 191, 21616.6
slategray#708090112, 128, 14416.7

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 2.35:1; with black text: 8.94:1. Black body text on darkgray meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for darkgray?
#A9A9A9.
What colors are similar to darkgray?
silver (#c0c0c0), lightgray (#d3d3d3), gainsboro (#dcdcdc).