Skip to content

Dim gray (Grey)

Dim gray is a true neutral, with equal parts red, green and blue. Hex code #696969.

Dim gray#696969

Dim gray color codes

  • CSS namedimgray, dimgrey
  • HEX#696969
  • RGBrgb(105, 105, 105)
  • HSLhsl(0, 0%, 41%)
  • OKLCHoklch(52.1% 0 0)
HSB and CMYK values
  • HSB / HSVhsb(0, 0%, 41%)
  • CMYKC0 M0 Y0 K59

White text

5.48:1 · passes WCAG AA

Black text

3.82:1 · passes WCAG AA for large text only

Shades of dim gray

A darker shade of dim gray is #383838 (700), and a lighter one is #9C9C9C (300).

Colors that go with dim gray

Tones

Dim gray has no complementary color: grays, black and white have no hue to turn around the color wheel.

Click a color to copy its hex code.

Colors similar to dim gray

Each compared with dim gray.

About this color

Dim gray in CSS and design

Dim gray is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same dim gray:

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

What to know about dim gray

Dim gray (#696969) is the darkest plain gray short of black: darker than gray (#808080), and much darker than dark gray (#A9A9A9). That makes it the lightest plain gray that still works for body text on white, at 5.48:1; gray reaches only 3.94:1.

Dim gray and the other grays

Dim gray sits between dark slate gray (#2F4F4F) and slate gray (#708090) in lightness. As text on dim gray, white smoke and white reach the 4.5:1 contrast that WCAG AA asks for.

GrayHexLightnessContrast with dim gray
Black#0000000%3.82:1
Dark slate gray#2F4F4F40%1.62:1
Dim gray#69696952%–
Slate gray#70809059%1.35:1
Gray#80808060%1.39:1
Light slate gray#77889962%1.50:1
Dark gray#A9A9A973%2.33:1
Silver#C0C0C081%3.01:1
Light gray#D3D3D387%3.66:1
Gainsboro#DCDCDC89%4.00:1
White smoke#F5F5F597%5.03:1
White#FFFFFF100%5.48:1

Lightness is OKLCH lightness, which follows how light a color looks.

Frequently asked questions

What is the hex code for dim gray (grey)?

#696969. Dim gray and dim grey are two spellings for the same color, and CSS accepts both keywords, dimgray and dimgrey, in every browser.

What is dim gray in RGB and HSL?

In RGB it is rgb(105, 105, 105) and in HSL hsl(0, 0%, 41%). In CMYK it is about C0 M0 Y0 K59, though printed colors vary with paper and ink.

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.

What is the complementary color of dim gray?

Dim gray has no complementary color. A complement is found by turning a color's hue halfway around the color wheel, and grays, black and white have no hue to turn.

Which colors go with dim gray?

As a neutral, dim gray goes with almost any color. Its own tones, from #2E2E2E to #B7B7B7, make a calm palette, and a single vivid accent stands out against it.