Color Reference · Midnight Slate

#28253A

oklch(27.8% 0.038 290)

HEX
#28253A
OKLCH
oklch(27.8% 0.038 290)
RGB
rgb(40, 37, 58)
HSL
hsl(249deg 22% 19%)
Relative Luminance
Y = 0.0208

Using #28253A as Text Foreground

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

Using #28253A as Button / Surface Fill

White ink (#FFFFFF) on #28253A
Contrast ratio 14.83:1
AAA
Dark ink (#0F172A) on #28253A
Contrast ratio 1.2:1
Fail

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