Color Reference · Midnight Slate

#10122A

oklch(19.5% 0.048 277)

HEX
#10122A
OKLCH
oklch(19.5% 0.048 277)
RGB
rgb(16, 18, 42)
HSL
hsl(235deg 45% 11%)
Relative Luminance
Y = 0.0071

Using #10122A as Text Foreground

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

Using #10122A as Button / Surface Fill

White ink (#FFFFFF) on #10122A
Contrast ratio 18.39:1
AAA
Dark ink (#0F172A) on #10122A
Contrast ratio 1.03:1
Fail

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