Color Reference · Midnight Slate
#201E31
oklch(24.7% 0.036 288)
HEX
#201E31
OKLCH
oklch(24.7% 0.036 288)
RGB
rgb(32, 30, 49)
HSL
hsl(246deg 24% 15%)
Relative Luminance
Y = 0.0146
Using #201E31 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.26:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #201E31 as Button / Surface Fill
White ink (#FFFFFF) on #201E31
Contrast ratio 16.26:1
Dark ink (#0F172A) on #201E31
Contrast ratio 1.1:1
Recommended accessible ink on #201E31: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.