Dark Slate Gray Classic

#2F4F4F

Nearest Tailwind V4 Match
teal-900
93.3% Match
Implementation
bg-teal-900
text-teal-900

Color Code Conversions

HEX Code
#2F4F4F
RGB Value
rgb(47, 79, 79)
HSL Value
hsl(180, 25%, 25%)
OKLCH CSS (v4)
oklch(0.403 0.038 195.8)

Full Calculated Scale

50
#f1f6f6
100
#e2eeee
200
#c6dddd
300
#aac8c7
400
#88a9a9
500
#6c8e8d
600
#557676
700
#466464
800
#385353
900
#304747
950
#1b2c2c

Technical Background

Converting Dark Slate Gray Classic (#2F4F4F) to Tailwind CSS requires more than just picking the nearest hex. Our algorithm uses CIEDE2000, a perceptual color difference formula that accounts for how human vision processes lightness, chroma, and hue.

The generated scale follows the Tailwind CSS v4 OKLCH standard, ensuring perfectly uniform weight across the entire spectrum. This prevents common issues like "hue shifting" where colors turn purple or grey as they get darker or lighter. You can customize this further in our Palette Generator.

Frequently Asked Questions

What is the closest Tailwind class for Dark Slate Gray Classic?

The closest visually matching Tailwind CSS class for Dark Slate Gray Classic (#2F4F4F) is teal-900. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 93.3%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-teal-900 for the best out-of-the-box match, or add #2F4F4F directly to your Tailwind theme configuration for 100% brand accuracy.

Why use OKLCH for this scale?

Tailwind CSS v4 uses OKLCH because it is perceptually uniform. When we generate the 50-950 scale for Dark Slate Gray Classic, OKLCH ensures that the color stays vibrant and doesn't shift towards different hues as it gets lighter or darker.

Need a custom palette?

Use our professional-grade generator to create a full theme from any custom hex code.

Open Palette Generator