# Dark Slate Gray Color (#2F4F4F)

> Dark Slate Gray is a CSS named color defined as hex code #2F4F4F.

- **URL**: https://swatchatlas.com/colors/dark-slate-gray/
- **Language**: English (en)
- **CSS Name**: `darkslategray`
- **Date Published**: 2026-09-29
- **Date Modified**: 2026-09-29
- **Authority Citation**: W3C CSS Color Module Level 4 (https://www.w3.org/TR/css-color-4/#named-colors)

## Color Values
- **HEX**: #2F4F4F
- **RGB**: rgb(47, 79, 79)
- **HSL**: hsl(180, 25%, 25%)
- **HSV/HSB**: hsv(180, 41%, 31%)
- **CMYK**: cmyk(41%, 0%, 0%, 69%) (digital approximation, non-print)
- **OKLCH**: oklch(0.403 0.038 195.8)

## What Colors Go With Dark Slate Gray
Contrast is each color on Dark Slate Gray (WCAG 2.2); 4.5:1 or above is text-safe.
- **White (#FFFFFF)**: 8.93:1, text-safe. The natural text color on dark slate gray.
- **Ivory (#FFFFF0)**: 8.85:1, text-safe. A softer, warmer alternative to white text.
- **White Smoke (#F5F5F5)**: 8.19:1, text-safe. A soft off-white for text and backgrounds.
- **Gold (#FFD700)**: 6.37:1, text-safe. A warm accent for headings and icons.
- **Light Gray (#D3D3D3)**: 5.96:1, text-safe. A tonal light gray for secondary text and dividers.
- **Wheat (#F5DEB3)**: 6.79:1, text-safe. A warm beige that balances the cool teal tint.

## WCAG 2.2 Contrast Results
- **Pure Black (#000000) text on Dark Slate Gray**: 2.35:1 (Fails AA and AAA)
- **Pure White (#FFFFFF) text on Dark Slate Gray**: 8.93:1 (Passes AA and AAA for both normal and large text)
- **Dark Charcoal (#212529) text on Dark Slate Gray**: 1.73:1 (Fails AA and AAA)
- **Mid Gray (#666666) text on Dark Slate Gray**: 1.55:1 (Fails AA and AAA)

## FAQ
### Can I use black text on Dark Slate Gray?
No. Black text on Dark Slate Gray has a WCAG 2.2 contrast ratio of only 2.35:1, below the 3:1 minimum even for large text.

### Can I use white text on Dark Slate Gray?
Yes. White text on Dark Slate Gray has a WCAG 2.2 contrast ratio of 8.93:1, passing both AA (4.5:1) and AAA (7:1) at every text size.

### What colors go with Dark Slate Gray?
White, Ivory, White Smoke, Gold, Light Gray and Wheat all go well with Dark Slate Gray. White (8.93:1), Ivory (8.85:1), White Smoke (8.19:1), Gold (6.37:1), Light Gray (5.96:1) and Wheat (6.79:1) have enough contrast for text on Dark Slate Gray.

### Is dark slate gray a good alternative to black for text?
Yes. Dark Slate Gray (#2F4F4F) is dark enough for body text on white, at 8.93:1 contrast, and its teal tint looks softer than pure black.

## Background Download
- **Format**: PNG 1920x1080 solid background
- **URL**: https://swatchatlas.com/images/backgrounds/dark-slate-gray-1920x1080.png
