Dark Slate Gray (#2F4F4F)
The hex code for Dark Slate Gray is #2F4F4F. It is rgb(47, 79, 79) in RGB, hsl(180, 25%, 25%) in HSL, and about cmyk(41%, 0%, 0%, 69%) in CMYK — a dark teal. White text is the more readable choice on this background.
#2F4F4Frgb(47, 79, 79)hsl(180, 25%, 25%)hsv(180, 41%, 31%)cmyk(41%, 0%, 0%, 69%)oklch(40.3% 0.038 195.8)lab(31.14% -12.26 -3.94)lch(31.14% 12.88 197.80)Colors Closest to Dark Slate Gray
Dark Slate Gray is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every teal in the library.
#2F4F4F Channel Values
How Dark Slate Gray breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 47 · G 79 · B 79 | 8-bit channels as sent to the display |
| HSL | H 180° · S 25% · L 25% | Easiest model for building lighter and darker variants |
| HSV | H 180° · S 41% · V 31% | Matches the picker in most design tools |
| CMYK | C 41% · M 0% · Y 0% · K 69% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 8.93:1 vs white · 2.35:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Dark Slate Gray background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #2F4F4F in the contrast checker.
Colors That Go With Dark Slate Gray
Pairings derived from color-wheel relationships. The complementary color sits opposite Dark Slate Gray; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Dark Slate Gray
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #2F4F4F.
How Dark Slate Gray Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#2F4F4F#4B4B4F#414C4F#464650#3E4A4F#2F4F4F#2F4F4F#4A4A4AUsing #2F4F4F in Code
Copy-ready declarations for the places this color usually ends up.
--dark-slate-gray: #2F4F4F;background-color: #2F4F4F;colors: { 'dark-slate-gray': '#2F4F4F' }Color(red: 0.184, green: 0.310, blue: 0.310)<color name="dark_slate_gray">#2F4F4F</color>fill="#2F4F4F"More Teal Colors
Dark Slate Gray sits in the teal family. These are its neighbours across that family's full range, each with its own breakdown.
#2F4F4F Frequently Asked Questions
What is the hex code for Dark Slate Gray?
The hex code for Dark Slate Gray is #2F4F4F. That is rgb(47, 79, 79) in RGB, hsl(180, 25%, 25%) in HSL, and approximately cmyk(41%, 0%, 0%, 69%) in CMYK.
What is the RGB value of #2F4F4F?
#2F4F4F is rgb(47, 79, 79) — red 47, green 79, and blue 79 on the 0-255 scale.
What is the CMYK value of #2F4F4F?
#2F4F4F converts to approximately cmyk(41%, 0%, 0%, 69%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #2F4F4F be black or white?
White text is the more readable choice. #2F4F4F scores 8.93:1 against white and 2.35:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Is DarkSlateGray a CSS named color?
Yes. DarkSlateGray is one of the CSS named colors, so you can write color: darkslategray instead of the hex code.
Open Dark Slate Gray in a Tool
Keep exploring: every teal in the color library, the guide to shades of teal, or the full color library.