NEUTRAL

Dark Slate Gray

#2F4F4F
Conversions
HEX#2F4F4F
RGBrgb(47, 79, 79)
HSLhsl(180, 25%, 25%)
HSVhsv(180, 41%, 31%)
CMYKcmyk(41%, 0%, 0%, 69%)
Copy CSS
color: #2f4f4f; /* rgb */ color: rgb(47, 79, 79); /* hsl */ color: hsl(180, 25%, 25%);
Contrast
On whitePass · 8.93 : 1
On ink blackFail · 2.14 : 1
Shades
Tints
Pairings

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.

Contrast of common text colors on Dark Slate Gray. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF8.93:1PassPassPass
Ink black #0F0F122.14:1FailFailFail
Mid grey #6B72801.85:1FailFailFail
Dark grey #3741511.15:1FailFailFail
Light grey #E5E7EB7.21:1PassPassPass

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.

Full values for Dark Slate Gray

FormatValue
HEX#2F4F4F
RGBrgb(47, 79, 79)
HSLhsl(180, 25%, 25%)
HSVhsv(180, 41%, 31%)
CMYKcmyk(41%, 0%, 0%, 69%)
OKLCHoklch(40.30% 0.0377 195.76)
CIELABlab(31.26 -11.72 -3.72)

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.