Dark Slate Gray
#2F4F4Frgb(47, 79, 79)hsl(180, 25%, 25%)
Dark Slate Gray is #2F4F4F, rgb(47, 79, 79).
In CSS: darkslategray, darkslategrey
Colors that go with Dark Slate Gray
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whitePass8.93 : 1
- On ink blackFail2.14 : 1
About Dark Slate Gray
Dark Slate Gray is the hex color #2F4F4F, which translates to rgb(47, 79, 79) in RGB and hsl(180, 25%, 25%) in HSL. On the color wheel it sits at 180 degrees, with a saturation of 25 percent and a lightness of 25 percent. That is deep enough that Dark Slate Gray reads almost as an ink: it carries detail poorly but anchors a layout well.
How Dark Slate Gray compares
Dark Slate Gray is exactly the CSS keyword darkslategray, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is mist-700 (#394447), at a distance of 8.7. Inside this library the closest neighbour is Outer Space at 8.7. Sorted by lightness, Dark Slate Gray is number 6 of the 37 neutral colors here.
Text on Dark Slate Gray
2 of the five common text colors below clear WCAG AA for normal text on Dark Slate Gray, led by White at 8.93:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Dark Slate Gray already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 8.93:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 2.14:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.85:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.15:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 7.21:1 | Pass | Pass | Pass |
Building a palette around Dark Slate Gray
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Dark Slate Gray for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Dark Slate Gray locked and let it fill in the rest.
Full values for Dark Slate Gray
| Format | Value |
|---|---|
| HEX | #2F4F4F |
| RGB | rgb(47, 79, 79) |
| HSL | hsl(180, 25%, 25%) |
| HSV | hsv(180, 41%, 31%) |
| CMYK | cmyk(41%, 0%, 0%, 69%) |
| OKLCH | oklch(40.30% 0.0377 195.76) |
| CIELAB | lab(31.26 -11.72 -3.72) |
Frequently asked questions
What is the RGB value of Dark Slate Gray?
Dark Slate Gray (#2F4F4F) is rgb(47, 79, 79): 47 red, 79 green and 79 blue on the 0 to 255 scale. Green and blue share the lead at 79 with red at 47, which puts the hue at 180 degrees. In HSL the same color is hsl(180, 25%, 25%).
What colour is #2F4F4F?
#2F4F4F is Dark Slate Gray, a dark neutral colour with 25% saturation and 25% lightness. For print the CMYK breakdown is 41% cyan, 0% magenta, 0% yellow and 69% black. Its nearest neighbour in this library is Outer Space, 8.7 away in CIELAB, a difference you can see.
Is Dark Slate Gray a CSS color name?
Yes. The keyword darkslategray is one of the 148 named colors in CSS Color Module Level 4, so color: darkslategray; renders exactly #2F4F4F. CSS also defines darkslategrey with the same value, so either spelling works.
What colors go with Dark Slate Gray?
Opposite Dark Slate Gray on the color wheel sits the complementary #4F2F2F, the boldest accent by hue. For a calmer scheme use the analogous neighbours #2F4F3F and #2F3F4F (close to Charcoal); for a balanced three-color scheme use the triadic pair #4F2F4F and #4F4F2F. Of these, #4F2F2F has the most contrast against Dark Slate Gray, at 1.32:1, so pair it by hue, not for legibility.
What text color is readable on Dark Slate Gray?
White (#FFFFFF) is the most readable on Dark Slate Gray, at 8.93:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.
Use Dark Slate Gray in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.