Born on a 1980s terminal
Historical recordThe first X color list, which shipped in 1986 with dark slate gray at 47, 79, 79, was “tuned” for Digital’s VT240 series terminals, according to the README kept with the X11 sources.1, 2
A dark, muted teal from the first X Window color list, now a CSS keyword.
Dark slate gray is a very dark gray with a clear green-blue cast. Its code is #2F4F4F: red at 47, with green and blue level at 79. Equal green and blue put it at the same hue as teal, #008080, so it reads as a muted, shadowy teal rather than a plain gray.
The name is a web color keyword, darkslategray in CSS, also spelled darkslategrey. It comes from the color list of the X Window System, the graphics system of Unix computers. Dark slate gray was already in the first version of that list, shipped in 1986 and tuned on a Digital VT240 terminal. SVG took over the X11 names in 2001, and CSS followed.
Despite the name, it is not a darker slate gray. Slate gray, #708090, is a cooler blue-gray that joined the list only in 1989. The same release added four numbered versions of dark slate gray, and all four are cyans, from pale #97FFFF down to #528B8B. Real slate, the roofing stone, is a blue, purple or near-black gray.
Dark slate gray is dark enough to carry white text with room to spare. It suits warm partners: cream, coral, mustard and copper. Use it where black would feel too heavy and navy too blue.
| HEX | #2F4F4F | |
|---|---|---|
| RGB | rgb(47, 79, 79) | |
| HSL | hsl(180, 25%, 25%) | |
| HSV | 180°, 41%, 31% | |
| CMYK | 41, 0, 0, 69 | |
| OKLCH | oklch(40.3% 0.038 195.8) |

X11’s numbered DarkSlateGray4 has the same hue but much more light, so it sits straight above the outline. People’s average “slate grey” in the xkcd survey is lighter and bluer, at the right edge of this view. The survey has no average for dark slate gray itself. Grays carry so little color that a small shift swings their hue a long way on this map. The outline is an approximate range, not a measured one.
Tints with white
Shades with black
Tones with gray
Pairings that work in rooms, outfits and interfaces.
Quiet and classic. A softer alternative to black on ivory.
A deep base with a warm, lively accent.
Earthy and confident. Suits cafés and outdoor brands.
Warm metal against a cool, dark green-gray.
Cool and fresh, all in one green-blue family.
Soft pink lifts the dark green-gray without fighting it.
Pick a palette to see where its colors sit on the color wheel. The caret marks dark slate gray. Tap a band to copy its code.
Lined up by hue around dark slate gray. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.
Dark slate gray is a computer color. Its name spread through Unix systems and web pages, not through paint or dye, and no study has tested what it means to people. What the sources record is where the name and the code came from, and why a name with such an odd history is still in every browser.
The first X color list, which shipped in 1986 with dark slate gray at 47, 79, 79, was “tuned” for Digital’s VT240 series terminals, according to the README kept with the X11 sources.1, 2
The original list had dark slate gray but no slate gray. Slate gray and light slate gray arrived with Paul Raveling’s additions in 1989, and the numbered DarkSlateGray1 to 4 added then are all cyans, not darker versions of slate gray.1
CSS Color 4 says its named colors are standardized “not because they are good, but because their use and implementation has been widespread for decades and the standard needs to reflect reality.”3
Dark slate gray is one of the oldest names in the X11 color list, and its code has not changed since the first version. Its spelling twin and its place in CSS came later.
The first X color list ships with X10 Release 3. It includes dark slate gray at 47, 79, 79, today’s #2F4F4F, and was tuned for Digital’s VT240 terminals.1, 2
X11 Release 2 adds “grey” spellings beside “gray”. Ars Technica reports this was for programmers at HP who could not remember which spelling to use.3
X11 Release 4 ships Paul Raveling’s retuned list. It adds slate gray, light slate gray and the numbered DarkSlateGray1 to 4, and keeps dark slate gray at its old value.1, 2
SVG 1.0 becomes a W3C Recommendation on 4 September. Its color keywords, taken from X11, include darkslategray and darkslategrey at rgb(47, 79, 79).4
CSS Color Level 3 becomes a W3C Recommendation on 7 June, bringing the same keywords to every web page.5
CSS Color Level 4 still lists darkslategray and darkslategrey as #2f4f4f, and notes that the old names are kept because they are so widely used.6
A very dark gray with a green-blue tint, like a muted, shadowy teal. Its code is #2F4F4F (RGB 47, 79, 79).
Yes. CSS accepts both spellings for #2F4F4F, and keywords are not case-sensitive, so DarkSlateGray works too.
No. Slate gray (#708090) is a blue-gray added to the X11 list in 1989. Dark slate gray was there from 1986 and is greener, closer to teal.
Both, equally. Its green and blue values are the same, which puts it at hue 180°, halfway between green and blue, the same hue as teal.
Cream and blush for a soft look, coral, mustard or copper for warmth, and mint for a cool, all-green palette. White text reads well on it.
From the X Window System’s color list of 1986, made for Unix computers. The web adopted the X11 names through SVG and CSS.