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
| HEX | #2f4f4f |
| RGB | rgb(47, 79, 79) |
| HSL | hsl(180, 25%, 25%) |
Harmonies
Complementary
#503030Analogous
#305040#304050Triadic
#503050#505030Split complementary
#503040#504030Tints & shades
#284343#2c4949#305050#345656#375c5cAccessibility
| vs #ffffff | 8.93:1 |
| vs #000000 | 2.35:1 |
| Suggested text color | #ffffff · 8.93:1 · WCAG AAA |
Similar named colors
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.