Color Reference · Midnight Slate

#25243A

oklch(27.2% 0.04 285)

HEX
#25243A
OKLCH
oklch(27.2% 0.04 285)
RGB
rgb(37, 36, 58)
HSL
hsl(243deg 23% 18%)
Relative Luminance
Y = 0.0196

Using #25243A as Text Foreground

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

Using #25243A as Button / Surface Fill

White ink (#FFFFFF) on #25243A
Contrast ratio 15.09:1
AAA
Dark ink (#0F172A) on #25243A
Contrast ratio 1.18:1
Fail

Recommended accessible ink on #25243A: #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 #25243A