Dark Slate Gray — #2F4F4F
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Dark Slate Gray values in every format
| CSS name | darkslategray |
|---|---|
| HEX | #2F4F4F |
| RGB | rgb(47, 79, 79) |
| RGB % | 18%, 31%, 31% |
| HSL | hsl(180, 25%, 25%) |
| HSV / HSB | 180°, 41%, 31% |
| CMYK (print) | 41%, 0%, 0%, 69% |
| Relative luminance | 0.068 |
| Contrast on black | 2.35 : 1 |
| Contrast on white | 8.93 : 1 |
| Best text colour on it | White (8.93 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Dark Slate Gray (50–950)
50 #F5F9F9100 #E9F2F2200 #CCE1E1300 #A5CACA400 #79AFAF500 #589393600 #467676700 #375D5D800 #2A4646900 #1D3030950 #111D1D
The scale keeps Dark Slate Gray's hue (180°) and saturation (25%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Dark Slate Gray
Complementary: #2F4F4F#4F2F2F
Analogous: #2F4F3F#2F4F4F#2F3F4F
Triadic: #2F4F4F#4F2F4F#4F4F2F
Split-complementary: #2F4F4F#4F2F3F#4F3F2F
Square: #2F4F4F#3F2F4F#4F2F2F#3F4F2F
Computed by rotating the hue wheel from 180°. Try them live in the Colour Harmony Generator.
Closest named colours
darkolivegreen (#556B2F) · seagreen (#2E8B57) · midnightblue (#191970)
Same-value alias: darkslategrey — an identical #2F4F4F under another CSS name (this page uses the primary spelling; British “grey” spellings duplicate the “gray” values and are covered on those pages).
Using Dark Slate Gray well
Dark Slate Gray sits in the cyan / teal family at 25% lightness — a dark, muted, cool colour. As a background it pairs best with white text (8.93:1 contrast). Its complement (#4F2F2F) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#2F4F3F, #2F3F4F) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Dark Slate Gray is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Dark Slate Gray?
#2F4F4F — the CSS named colour “darkslategray”. Its RGB is (47, 79, 79).
Is Dark Slate Gray good for text or backgrounds?
As a background, white text reads best on it (8.93:1). As text itself on white it reaches 8.93:1 — enough for WCAG AA normal text.
What colours go with Dark Slate Gray?
Its complement #4F2F2F for contrast, analogous #2F4F3F and #2F3F4F for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Dark Slate Gray in CMYK for printing?
C41 M0 Y0 K69. CMYK conversions of screen colours are a starting point — always proof before a print run.