Color Reference · Midnight Slate
#20212E
oklch(25.3% 0.025 281)
HEX
#20212E
OKLCH
oklch(25.3% 0.025 281)
RGB
rgb(32, 33, 46)
HSL
hsl(236deg 18% 15%)
Relative Luminance
Y = 0.0159
Using #20212E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.93:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #20212E as Button / Surface Fill
White ink (#FFFFFF) on #20212E
Contrast ratio 15.93:1
Dark ink (#0F172A) on #20212E
Contrast ratio 1.12:1
Recommended accessible ink on #20212E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.