Color Reference · Midnight Slate

#17162D

oklch(21.4% 0.045 284)

HEX
#17162D
OKLCH
oklch(21.4% 0.045 284)
RGB
rgb(23, 22, 45)
HSL
hsl(243deg 34% 13%)
Relative Luminance
Y = 0.0095

Using #17162D as Text Foreground

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

Using #17162D as Button / Surface Fill

White ink (#FFFFFF) on #17162D
Contrast ratio 17.66:1
AAA
Dark ink (#0F172A) on #17162D
Contrast ratio 1.01:1
Fail

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