Dark Slate Gray Hex Code — #2F4F4F
RGB, HSL, and CMYK values for Dark Slate Gray.
Last updated: April 6, 2026
Dark Slate Gray Color Values
| Format | Value |
|---|---|
| HEX | #2F4F4F |
| RGB | rgb(47, 79, 79) |
| HSL | hsl(180, 25%, 25%) |
| CMYK | cmyk(41%, 0%, 0%, 69%) |
About Dark Slate Gray
Color psychology: Professionalism, depth.
Dark Slate Gray (#2F4F4F) is a dark shade of gray with a hue angle of 180° on the color wheel, 25% saturation, and 25% lightness. It's commonly used in web design, graphic design, and branding where professionalism, depth are desired associations.
In color theory, Dark Slate Gray sits in the cool section of the spectrum. Its low saturation creates a muted, understated tone — great for backgrounds, borders, and subtle UI elements.
When to Use Dark Slate Gray in Design
Web Design
Use Dark Slate Gray for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.
Branding & Logo
Dark Slate Gray conveys professionalism, depth — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.
Print Design
Use the CMYK values (C:41% M:0% Y:0% K:69%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.
UI / UX Design
Dark colors like Dark Slate Gray are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Dark Slate Gray in CSS
/* Using HEX */ color: #2F4F4F; background-color: #2F4F4F; /* Using RGB */ color: rgb(47, 79, 79); /* Using HSL — best for creating variations */ color: hsl(180, 25%, 25%); /* Transparent overlay (50% opacity) */ background-color: rgba(47, 79, 79, 0.5); /* Lighter variant for hover states */ background-color: hsl(180, 25%, 35%); /* Darker variant for active states */ background-color: hsl(180, 25%, 15%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Dark Slate Gray without changing its core hue or saturation.
Colors That Go With Dark Slate Gray
Complementary
Analogous
Triadic
Similar Shades of Gray
Frequently Asked Questions
What is the hex code for Dark Slate Gray?
What is Dark Slate Gray in RGB and when should I use RGB?
How to use Dark Slate Gray in CSS with different color formats?
What is the HSL value of Dark Slate Gray and why is HSL useful for designers?
What is the CMYK value of Dark Slate Gray for print design?
What colors pair well with Dark Slate Gray in design projects?
Is Dark Slate Gray (#2F4F4F) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.