Skip to content

Dim gray

Dim gray is a medium gray with no tint at all. Hex code #696969.

Dim gray#696969

Color codes

  • CSS namedimgray, dimgrey
  • HEX#696969
  • RGBrgb(105 105 105)
  • HSLhsl(0 0% 41%)
  • HSB / HSVhsb(0, 0%, 41%)
  • OKLCHoklch(52.1% 0 0)
  • CMYKcmyk(0%, 0%, 0%, 59%)

White text

5.48:1 · passes WCAG AA

Black text

3.82:1 · passes WCAG AA for large text only

Shades

50#F2F2F2
100#D4D4D4
200#B8B8B8
300#9C9C9C
400#828282
500#686868
600#4F4F4F
700#383838
800#222222

Tones

#2E2E2E
#4D4D4D
#696969
#929292
#B7B7B7

About this color

Dim gray in CSS and design

Dim gray is a medium gray with no tint at all. Dim gray is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Dim gray (#696969) is darker than gray (#808080), and much darker than dark gray (#A9A9A9).

Use it in CSS by name or by any of its codes; these all give the same color:

color: dimgray;
color: #696969;
color: rgb(105 105 105);
color: hsl(0 0% 41%);

For text on dim gray, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for dim gray?

#696969. In CSS you can also use the keyword dimgray or dimgrey, which works in every browser.

What is dim gray in RGB and HSL?

In RGB it is rgb(105 105 105), in HSL hsl(0 0% 41%). For print, cmyk(0%, 0%, 0%, 59%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on dim gray?

White text works better: it has a contrast ratio of 5.48:1 and passes WCAG AA. Black text reaches 3.82:1.

Which colors go with dim gray?

As a neutral, dim gray goes with almost any color. It works well as a background, border or text color next to a vivid accent, and with the lighter and darker tones from its shades.