Color Reference · Midnight Slate

#25253F

oklch(27.8% 0.048 283)

HEX
#25253F
OKLCH
oklch(27.8% 0.048 283)
RGB
rgb(37, 37, 63)
HSL
hsl(240deg 26% 20%)
Relative Luminance
Y = 0.0208

Using #25253F as Text Foreground

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

Using #25253F as Button / Surface Fill

White ink (#FFFFFF) on #25253F
Contrast ratio 14.84:1
AAA
Dark ink (#0F172A) on #25253F
Contrast ratio 1.2:1
Fail

Recommended accessible ink on #25253F: #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 #25253F