Dim Gray #696969

Dim Gray color (#696969)

Dim Gray is one of the 148 CSS named colors. Use the keyword dimgray anywhere CSS accepts a color, or its hex code #696969, which is rgb(105, 105, 105) in RGB. The keyword dimgrey produces exactly the same color.

It is a medium neutral and a perceived lightness of 52% in OKLCH. On a dim gray background, white text gives the higher contrast at 5.48:1, which passes WCAG AA for normal text.

Dim Gray color codes

CSS name dimgray
HEX #696969
HEX (8-digit) #696969FF
RGB rgb(105, 105, 105)
HSL hsl(0, 0%, 41%)
HSV / HSB hsv(0, 0%, 41%)
OKLCH oklch(52.1% 0 89.9)
CMYK cmyk(0%, 0%, 0%, 58.8%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for dim gray used as text and as a background.

Aa Sample text
Dim Gray text on white
5.48:1 WCAG Lc 77.4 APCA Passes AA
Aa Sample text
Dim Gray text on black
3.82:1 WCAG Lc -24.3 APCA AA large text only
Aa Sample text
White text on dim gray
5.48:1 WCAG Lc -82.7 APCA Passes AA
Aa Sample text
Black text on dim gray
3.82:1 WCAG Lc 26.6 APCA AA large text only

Tints and shades of dim gray

Tints mix dim gray with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with dim gray

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Dim Gray with color blindness

Approximately how dim gray appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using dim gray in CSS

.element {
  color: dimgray;
  background-color: #696969;
  border-color: rgb(105 105 105 / 50%);
  outline-color: oklch(52.1% 0 89.9);
}

Similar named colors

See all shades of gray or browse every CSS color name.

Related tools