Dark Slate Gray color #2F4F4F
Dark Slate Gray is one of the CSS named colors (keyword darkslategray) with the hex code #2F4F4F — RGB 47, 79, 79, HSL 180°, 25%, 25%.
#2F4F4FDark Slate Gray
Color codes
- HEX
#2F4F4F- RGB
rgb(47, 79, 79)- HSL
hsl(180, 25%, 25%)- CMYK
41%, 0%, 0%, 69%- OKLCH
oklch(40.3% 0.038 195.8)- CSS keyword
darkslategray
Tints and shades
#D9FEFD#BEE2E2#A4C8C7#8BAEAD#729494#5B7C7C#436464#2D4D4D#173737#022323#000F0F
Color harmonies
Complementary
#2F4F4F#5B4042
Analogous
#354F44#2F4F4F#324D58
Triadic
#2F4F4F#514257#544631
Split complementary
#2F4F4F#58404D#5A4237
Tetradic
#2F4F4F#46465C#5B4042#4B4A32
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Dark Slate Gray text on white | 8.93 : 1 | 90 | AAA — any text |
| Dark Slate Gray text on black | 2.35 : 1 | -12 | Fails for text |
| White text on Dark Slate Gray | 8.93 : 1 | -95 | AAA — any text |
| Black text on Dark Slate Gray | 2.35 : 1 | 14 | Fails for text |
Palettes with this color
- Dark Plum & Misty Rose
- Light Lavendar & Charcoal Grey
- Dark Teal & Misty Rose
- Nice Blue & Misty Rose
- Dusty Teal & Dark Blue Grey
- Dusty Teal & Very Dark Green
Frequently asked questions
What is the hex code of Dark Slate Gray?
Dark Slate Gray has the hex code #2F4F4F, which is RGB 47, 79, 79 and HSL 180°, 25%, 25%.
Which text color reads best on Dark Slate Gray?
White text: contrast 8.93 : 1 (black text: 2.35 : 1).
Which colors go well with Dark Slate Gray?
Its complementary color is #5B4042; analogous colors are #354F44 and #324D58; a triadic set adds #514257 and #544631.
Similar colors
- Deep Teal #00555A
- Dark Teal #014D4E
- Dark Blue Green #005249
- Dark Grey Blue #29465B
- Charcoal Grey #3C4142
- Petrol #005F6A
- Dark Green Blue #1F6357
- Dark Blue Grey #1F3B4D
- Charcoal #343837
- Evergreen #05472A
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)