Color Reference · Midnight Slate

#201B3E

oklch(24.8% 0.064 287)

HEX
#201B3E
OKLCH
oklch(24.8% 0.064 287)
RGB
rgb(32, 27, 62)
HSL
hsl(249deg 39% 17%)
Relative Luminance
Y = 0.0144

Using #201B3E as Text Foreground

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

Using #201B3E as Button / Surface Fill

White ink (#FFFFFF) on #201B3E
Contrast ratio 16.31:1
AAA
Dark ink (#0F172A) on #201B3E
Contrast ratio 1.09:1
Fail

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