Color Reference · Midnight Slate

#12101E

oklch(18.3% 0.028 290)

HEX
#12101E
OKLCH
oklch(18.3% 0.028 290)
RGB
rgb(18, 16, 30)
HSL
hsl(249deg 30% 9%)
Relative Luminance
Y = 0.0059

Using #12101E as Text Foreground

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

Using #12101E as Button / Surface Fill

White ink (#FFFFFF) on #12101E
Contrast ratio 18.77:1
AAA
Dark ink (#0F172A) on #12101E
Contrast ratio 1.05:1
Fail

Recommended accessible ink on #12101E: #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 #12101E