darkslategray darkslategray #2f4f4f

darkslategray is #2f4f4f in hexadecimal, rgb(47, 79, 79) in decimal and hsl(180, 25, 25) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#2f4f4f
HEX#2f4f4f
RGBrgb(47, 79, 79)
HSLhsl(180, 25%, 25%)

Harmonies

Complementary

#503030

Analogous

#305040#304050

Triadic

#503050#505030

Split complementary

#503040#504030

Tints & shades

#284343#2c4949#305050#345656#375c5c

Accessibility

vs #ffffff8.93:1
vs #0000002.35:1
Suggested text color#ffffff · 8.93:1 · WCAG AAA

Similar named colors

darkslategrey#2f4f4fdarkolivegreen#556b2fseagreen#2e8b57midnightblue#191970darkslateblue#483d8bdimgray#696969

FAQ

What is the HEX code for darkslategray?

darkslategray is #2f4f4f in hex, rgb(47, 79, 79) in decimal and hsl(180, 25%, 25%) in HSL. In CSS you can write either color: darkslategray; or color: #2f4f4f; — they are equivalent.

What colors go with darkslategray?

The complementary #503030 gives the strongest contrast, the analogous pair #305040 / #304050 is the safest, and the triad #503050 / #505030 adds more tension. All three are derived from the 180° hue of #2f4f4f.

Does #2f4f4f read better on white or black?

Its contrast is 8.93:1 against white and 2.35:1 against black. Use #ffffff text on it — that gives 8.93:1, which meets WCAG AAA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors