Color Reference · Midnight Slate
#201B31
oklch(23.9% 0.042 293)
HEX
#201B31
OKLCH
oklch(23.9% 0.042 293)
RGB
rgb(32, 27, 49)
HSL
hsl(254deg 29% 15%)
Relative Luminance
Y = 0.0131
Using #201B31 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.63:1
Sample text on Slate (#0F172A)
Contrast ratio 1.07:1
Using #201B31 as Button / Surface Fill
White ink (#FFFFFF) on #201B31
Contrast ratio 16.63:1
Dark ink (#0F172A) on #201B31
Contrast ratio 1.07:1
Recommended accessible ink on #201B31: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.