Color Reference · Midnight Slate

#100E40

oklch(20.8% 0.091 277)

HEX
#100E40
OKLCH
oklch(20.8% 0.091 277)
RGB
rgb(16, 14, 64)
HSL
hsl(242deg 64% 15%)
Relative Luminance
Y = 0.0079

Using #100E40 as Text Foreground

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

Using #100E40 as Button / Surface Fill

White ink (#FFFFFF) on #100E40
Contrast ratio 18.12:1
AAA
Dark ink (#0F172A) on #100E40
Contrast ratio 1.01:1
Fail

Recommended accessible ink on #100E40: #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 #100E40