Color Reference · Midnight Slate

#160E1C

oklch(18.2% 0.03 310)

HEX
#160E1C
OKLCH
oklch(18.2% 0.03 310)
RGB
rgb(22, 14, 28)
HSL
hsl(274deg 33% 8%)
Relative Luminance
Y = 0.0057

Using #160E1C as Text Foreground

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

Using #160E1C as Button / Surface Fill

White ink (#FFFFFF) on #160E1C
Contrast ratio 18.86:1
AAA
Dark ink (#0F172A) on #160E1C
Contrast ratio 1.06:1
Fail

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