TintShelf
Interface

Dark Gray Color Code: Hex #A9A9A9

The hex code for Dark Gray is #A9A9A9 (the CSS keyword darkgray). Dark Gray RGB code: rgb(169, 169, 169). The xkcd color survey gives #363737 instead, which looks clearly different; both codes are below with their source.

CSS Color 4#A9A9A9Top: the code browsers use
xkcd color survey, meodai color-name-list#363737Below: compare edge to edge

Dark Gray color codes: each Dark Gray hex code in every format

HEX#A9A9A9
RGBrgb(169, 169, 169)
HSLhsl(0, 0%, 66%)
OKLCHoklch(73.5% 0.000 0.0)
LABlab(69.2 0.0 0.0)
CMYKcmyk(0%, 0%, 0%, 34%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
gray
Contrast
2.35:1 with white, 8.94:1 with black
CSS keyword
darkgray
Also written
darkgrey
Character
mid-tone, near-neutral
Readable text on it
black (AA)

On the web, dark gray is noticeably lighter than plain gray, because dark gray came from the X11 list and did not exist in HTML or CSS level 1, while gray came from HTML.

A mid-tone, almost neutral tint. In code, darkgray gives exactly this web value. If you mean the color as people usually picture the name, the survey value #363737 is closer: it is darker and about as saturated.

Black text reads best on it; white text does not pass WCAG AA. Next to Silver, its closest named neighbour, it looks darker, about as saturated and neither warmer nor cooler; beside Light Gray it looks darker, about as saturated and neither warmer nor cooler.

Colors that go with Dark Gray

Complementary: the opposite of Dark Gray

Open in generator

  • #A9A9A9Black text 8.94:1
  • #A9A9A9Black text 8.94:1
  • #CFCFCFBlack text 13.48:1
  • #676767White text 5.66:1

Analogous

Open in generator

  • #A9A9A9Black text 8.94:1
  • #A9A9A9Black text 8.94:1
  • #A9A9A9Black text 8.94:1
  • #DCDCDCBlack text 15.31:1

Triadic

Open in generator

  • #A9A9A9Black text 8.94:1
  • #A9A9A9Black text 8.94:1
  • #A9A9A9Black text 8.94:1
  • #E9E9E9Black text 17.30:1

Monochrome

Open in generator

  • #2C2C2CWhite text 13.97:1
  • #676767White text 5.66:1
  • #A9A9A9Black text 8.94:1
  • #C2C2C2Black text 11.79:1
  • #DCDCDCBlack text 15.31:1

With neutrals

Open in generator

  • #A9A9A9Black text 8.94:1
  • #E9E9E9Black text 17.30:1
  • #121212White text 18.73:1
  • #8C8C8CBlack text 6.25:1

How tints, shades and harmonies are calculated

Preview

Heading on Dark Gray

Body text on this color, 8.94:1.

Button

Heading in Dark Gray

Text in this color on white, 2.35:1.

Button

Tints and shades

  1. #E9E9E9
  2. #DCDCDC
  3. #CFCFCF
  4. #C2C2C2
  5. #B5B5B5
  6. #A9A9A9
  7. #878787
  8. #676767
  9. #494949
  10. #2C2C2C
  11. #121212

WhiteDark GrayBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.