Color Reference · Midnight Slate

#25152D

oklch(22.9% 0.05 314)

HEX
#25152D
OKLCH
oklch(22.9% 0.05 314)
RGB
rgb(37, 21, 45)
HSL
hsl(280deg 36% 13%)
Relative Luminance
Y = 0.0112

Using #25152D as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 17.16:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Fail

Using #25152D as Button / Surface Fill

White ink (#FFFFFF) on #25152D
Contrast ratio 17.16:1
AAA
Dark ink (#0F172A) on #25152D
Contrast ratio 1.04:1
Fail

Recommended accessible ink on #25152D: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #25152D