White text passes AAA
8.93:1

Dark Slate Gray

#2F4F4F
PNG

The dark slate gray hex code is #2F4F4F, and its RGB value is 47, 79, 79.

Dark slate gray (also written dark slate grey) is a deep gray with a green-blue tint, defined in CSS as darkslategray #2F4F4F. It's a moody, refined alternative to charcoal for headers, text and dark themes. White text passes AA on it at 8.9:1.

Dark Slate Gray color codes

HEX#2F4F4F
RGBrgb(47, 79, 79)
HSLhsl(180, 25%, 25%)
OKLCHoklch(40.3% 0.038 195.8)
CMYKcmyk(41%, 0%, 0%, 69%)
CMYK is an approximate screen conversion, not for print matching.

Shades of dark slate gray

Ten lighter and ten darker shades of dark slate gray, with dark slate gray in the middle. Click a shade to copy its hex code.

LightestDark Slate Gray #2F4F4FDarkest

Readability

White text on dark slate grayNormal text at 16px. The quick brown fox jumps over the lazy dog.
8.93:1
  • Passes AA normal
  • Passes AA large
  • Passes AAA normal
  • Passes AAA large
Dark text on dark slate grayNormal text at 16px. The quick brown fox jumps over the lazy dog.
2.35:1
  • Fails AA and AAA

Colors that go with dark slate gray

#2F4F4F#4F2F2F

Complementary

The opposite on the color wheel
#2F4F3F#2F4F4F#2F3F4F

Analogous

Its two neighbors
#2F4F4F#4F2F4F#4F4F2F

Triadic

Three evenly spaced colors
#2F4F4F#4F2F3F#4F3F2F

Split-complementary

The two colors beside its opposite

Dark Slate Gray color palettes

Monochrome

Lighter and darker versions of the same color.

Analogous

Neighbors on the color wheel, for a calm, related look.

Complementary

The color with its opposite, for strong contrast.

Triadic

Three colors evenly spaced around the wheel, with a light and dark version.

Dark Slate Gray background

Plain and gradient dark slate gray backgrounds for phone and desktop wallpapers, slides and mockups, free to download.

Solid dark slate gray background

Dark Slate Gray gradient background

Questions about dark slate gray

What is the hex code for dark slate gray?

The hex code for dark slate gray is #2F4F4F. In RGB it's rgb(47, 79, 79), and in HSL it's hsl(180, 25%, 25%).

What is the RGB value of dark slate gray?

Dark Slate Gray is rgb(47, 79, 79) in RGB: 47 red, 79 green and 79 blue on a 0-255 scale.

What colors go with dark slate gray?

Its complementary color is #4F2F2F. For a calmer look, try the analogous colors #2F4F3F and #2F3F4F, or one of the palettes above, which all include dark slate gray.

Is text readable on dark slate gray?

White text is the better choice, with a contrast ratio of 8.93:1. That passes WCAG AA for normal text.