Color Reference · Midnight Slate

#20193D

oklch(24.3% 0.066 289)

HEX
#20193D
OKLCH
oklch(24.3% 0.066 289)
RGB
rgb(32, 25, 61)
HSL
hsl(252deg 42% 17%)
Relative Luminance
Y = 0.0134

Using #20193D as Text Foreground

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

Using #20193D as Button / Surface Fill

White ink (#FFFFFF) on #20193D
Contrast ratio 16.56:1
AAA
Dark ink (#0F172A) on #20193D
Contrast ratio 1.08:1
Fail

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