Skip to main content

Dark Slate Gray

#2F4F4F·gray family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Dark Slate Gray (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#2F4F4F
RGB
rgb(47, 79, 79)
HSL
hsl(180, 25%, 25%)
OKLCH
oklch(0.403 0.038 196)
CMYK
cmyk(41%, 0%, 0%, 69%)
Luminance:0.0676
CSS var:--color-dark-slate-gray
Tailwind:bg-[#2F4F4F]

Accessibility

Score: 96/100

On White (#FFF)

8.93:1

AAA

On Black (#000)

2.35:1

Fail

On Light Gray (#F5F5F5)

8.19:1

AAA

Best text color on this background:

white8.93:1
Open in Contrast Checker →

Design Applications

Background

background-color: #2F4F4F

Text Color

color: #2F4F4F

bg-[#2F4F4F] text-[#FFFFFF]

Accent border card component

border-left: 4px solid #2F4F4F

Color Meaning & Psychology

Gray is the color of balance, intelligence, and maturity. Unlike black or white, gray makes no strong statement — it allows other design elements to speak. Light grays are versatile backgrounds that convey modernity and cleanliness; mid-grays feel sophisticated and professional; dark charcoals carry authority without the extremity of black. Gray's emotional neutrality has made it the dominant color of Apple's design language and most premium technology hardware. Cool grays (blue-tinted) feel modern and urban; warm grays (brown-tinted, often called "greige") feel approachable and cozy. Gray can feel dull and lifeless without colorful accents — context determines whether it reads as timeless or uninspired. Its deeper, richer tone gives it gravitas and sophistication, making it well-suited for primary brand colors, typography, and contexts where authority matters.

Industry Usage

Common contexts and industries where Dark Slate Gray is applied in professional design.

  • Premium technology hardware and devices
  • Architectural and interior design services
  • Automotive brands emphasizing refinement
  • Financial and professional services
  • Typography and editorial design
  • Industrial and engineering companies
  • Minimalist fashion and luxury apparel
  • Enterprise software UI neutral elements

Accessibility Considerations

Normal Text

Passes AA

4.5:1 minimum required

Large Text

Passes AA Large

3:1 minimum required

UI Components

Meets 1.4.11

3:1 for non-text UI

Dark Slate Gray is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (8.93:1). Avoid small black text on this background.

CSS & Code Examples

Background

background-color: #2F4F4F;

Text

color: #2F4F4F;

Border

border: 2px solid #2F4F4F;

Box Shadow

box-shadow: 0 4px 20px #2F4F4F40;

Gradient

background: linear-gradient(135deg, #2F4F4F, #5a7b7b);

Tailwind-style

--color-dark-slate-gray: #2F4F4F;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Dark Slate Gray without a custom config.

Background

bg-[#2F4F4F]

Text

text-[#2F4F4F]

Border

border-[#2F4F4F]

Ring

ring-[#2F4F4F]

Fill

fill-[#2F4F4F]

From (gradient)

from-[#2F4F4F]

Via (gradient)

via-[#2F4F4F]

To (gradient)

to-[#2F4F4F]

Design Tokens

Ready-to-use Dark Slate Gray design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-dark-slate-gray: #2F4F4F;
  --color-dark-slate-gray-rgb: 47, 79, 79;
  --color-dark-slate-gray-hsl: 180, 25%, 25%;
}

SCSS Variables

$color-dark-slate-gray: #2F4F4F;
$color-dark-slate-gray-rgb: 47, 79, 79;
$color-dark-slate-gray-hsl: 180, 25%, 25%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'dark-slate-gray': '#2F4F4F',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-dark-slate-gray: #2F4F4F;
}

JSON Design Token (W3C format)

{
  "dark-slate-gray": {
    "value": "#2F4F4F",
    "type": "color",
    "description": "Dark Slate Gray — #2F4F4F"
  }
}

What Does Dark Slate Gray Mean? Color Psychology & Cultural Symbolism

Gray occupies a unique psychological position in color theory. Unlike most colors, it carries almost no direct emotional charge—instead, it creates the conditions for other colors and design elements to be evaluated on their own terms. Dark Slate Gray at #2F4F4F projects balance as a positive quality, not a deficit.

  • Gray is design's great enabler—the neutral foundation on which other colors perform. In corporate contexts it projects professionalism without warmth (contrasted with blue) or assertiveness (contrasted with black). In luxury design, sophisticated warm grays signal refinement and editorial taste.
  • In Japanese aesthetics, gray (haiiro) is deeply valued for its understated elegance—a key component of the wabi-sabi philosophy of imperfect, restrained beauty. Chinese ink painting depends on the full spectrum of gray tones as an expressive medium in itself.
  • Dark Slate Gray's deep lightness (25%) shifts its psychological register: Dark charcoal and near-black grays carry the authority of black with slightly more approachability—premium, precise, and extremely versatile in professional design systems.
  • At 25% saturation, Dark Slate Gray reads as muted—All grays are inherently muted, but mid-tones in the 40-60% lightness range do the heaviest lifting in sophisticated design systems—providing contrast, hierarchy, and structure without ever competing with the palette's primary colors.

The best design systems have at least one gray as foundational as Dark Slate Gray—the tone that organizes without competing.

How to Use Dark Slate Gray in Design: Applications, Pairings & Best Practices

Skilled designers know that the quality of a palette's grays determines the quality of the palette itself. Dark Slate Gray's deep quality provides the right visual density for the level of sophistication or accessibility the design requires.

  • UI components: neutral backgrounds, disabled states, secondary text—Dark Slate Gray performs reliably in all these roles with its deep tonal character.
  • Brand & identity: professional service identities, technology UIs, editorial layouts—contexts where Dark Slate Gray's muted quality creates the right register.
  • Typography: Dark Slate Gray works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.
  • As a dark tone, Dark Slate Gray creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
  • Proportional use: Dark Slate Gray's muted quality means it scales well across proportions—from full-bleed backgrounds to single-pixel borders—making it an unusually versatile palette component.

The best design systems have at least one gray as foundational as Dark Slate Gray—the tone that organizes without competing.

Dark Slate Gray Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Dark Slate Gray (#2F4F4F) achieves a 8.93:1 contrast ratio with white text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 6.8%.

  • As text on white (#FFFFFF): 8.93:1 — AAA ✓
  • As text on black (#000000): 2.35:1 — Fail
  • Best text color on Dark Slate Gray background: White (#FFFFFF) at 8.93:1
  • WCAG 2.1 luminance: 6.8% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
  • Dark Slate Gray qualifies for all text sizes including small body copy (AAA).

For production use, test Dark Slate Gray against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.

Dark Slate Gray in Industry: Branding, Design & Market Applications

Dark Slate Gray (#2F4F4F) is most at home in industries where neutrality, professionalism, sophistication, and balance are key brand values. Its deep quality makes it particularly effective in Technology contexts, where the muted saturation signals timelessness at exactly the right register.

  • Technology: Gray dominates technology UI design because it provides the neutral canvas on which colorful, dynamic interface elements perform. Apple's aluminum aesthetic established gray as the physical language of precision engineering, an association that has persisted across all of tech. (examples: Notion, Slack, Salesforce) Cool grays signal digital precision; warm grays feel more approachable and human—choice depends on product personality.
  • Finance & Professional Services: Gray communicates the seriousness of people who manage important things—it's the suit of the professional world. Financial services, consulting, and legal firms use it to project competence, precision, and the absence of emotional noise. (examples: JPMorgan Chase, Goldman Sachs, Visa) Dark charcoal is more authoritative than mid-gray for premium financial brands; lighter grays communicate approachable modernity.
  • Luxury & Automotive: Luxury brands use sophisticated warm grays as an alternative to the expected black—it signals refinement, editorial taste, and the confidence that doesn't need to shout. Automotive brands use it for the same reason: gray cars signal understated premium quality. (examples: Porsche, Tesla, Mercedes-Benz) The specific undertone of a luxury gray (warm vs cool, light vs dark) determines whether it reads as contemporary or classic.
  • Brand positioning: Dark Slate Gray is best suited for brands projecting precision, reliability, sophistication. Categories outside this positioning—color-forward consumer brands that need warmth and personality—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Dark Slate Gray works effectively in architectural visualization, automotive branding, luxury product design—contexts where timelessness serves a secondary but reinforcing role.

The industries where Dark Slate Gray performs best are those where the audience expects timelessness. Build brand strategy around this alignment, not against it.

Frequently Asked Questions

What is the hex code for Dark Slate Gray?
The hex code for Dark Slate Gray is #2F4F4F. Its RGB values are rgb(47, 79, 79) and its HSL values are hsl(180, 25%, 25%).
What does Dark Slate Gray mean in design?
Gray is the color of balance, intelligence, and maturity. Unlike black or white, gray makes no strong statement — it allows other design elements to speak. Light grays are versatile backgrounds that convey modernity and cleanliness; mid-grays feel sophisticated and professional; dark charcoals carry authority without the extremity of black. Gray's emotional neutrality has made it the dominant color of Apple's design language and most premium technology hardware. Cool grays (blue-tinted) feel modern and urban; warm grays (brown-tinted, often called "greige") feel approachable and cozy. Gray can feel dull and lifeless without colorful accents — context determines whether it reads as timeless or uninspired. Its deeper, richer tone gives it gravitas and sophistication, making it well-suited for primary brand colors, typography, and contexts where authority matters.
Is Dark Slate Gray WCAG accessible?
Dark Slate Gray (#2F4F4F) passes WCAG AAA on white with a 8.93:1 contrast ratio. Its overall accessibility score is 96/100.
What colors go well with Dark Slate Gray?
Dark Slate Gray pairs well with its complementary color Red (#FF0000). Analogous colors like Mint Cream and Opal also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Dark Slate Gray used for?
Dark Slate Gray is commonly used for: Premium technology hardware and devices; Architectural and interior design services; Automotive brands emphasizing refinement; Financial and professional services; Typography and editorial design.
What are the CSS and Tailwind values for Dark Slate Gray?
In CSS, use `color: #2F4F4F` or `background-color: #2F4F4F`. The CSS custom property is `--color-dark-slate-gray: #2F4F4F`. In Tailwind CSS, use the arbitrary value class `bg-[#2F4F4F]` for backgrounds or `text-[#2F4F4F]` for text.