Color Reference · Midnight Slate

#12101F

oklch(18.4% 0.03 289)

HEX
#12101F
OKLCH
oklch(18.4% 0.03 289)
RGB
rgb(18, 16, 31)
HSL
hsl(248deg 32% 9%)
Relative Luminance
Y = 0.006

Using #12101F as Text Foreground

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

Using #12101F as Button / Surface Fill

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

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