Color Reference · Midnight Slate

#0E121F

oklch(18.5% 0.027 270)

HEX
#0E121F
OKLCH
oklch(18.5% 0.027 270)
RGB
rgb(14, 18, 31)
HSL
hsl(226deg 38% 9%)
Relative Luminance
Y = 0.0062

Using #0E121F as Text Foreground

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

Using #0E121F as Button / Surface Fill

White ink (#FFFFFF) on #0E121F
Contrast ratio 18.67:1
AAA
Dark ink (#0F172A) on #0E121F
Contrast ratio 1.05:1
Fail

Recommended accessible ink on #0E121F: #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 #0E121F