Color Reference · Midnight Slate

#181124

oklch(19.7% 0.038 300)

HEX
#181124
OKLCH
oklch(19.7% 0.038 300)
RGB
rgb(24, 17, 36)
HSL
hsl(262deg 36% 10%)
Relative Luminance
Y = 0.0072

Using #181124 as Text Foreground

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

Using #181124 as Button / Surface Fill

White ink (#FFFFFF) on #181124
Contrast ratio 18.35:1
AAA
Dark ink (#0F172A) on #181124
Contrast ratio 1.03:1
Fail

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