Color Reference · Midnight Slate
#20102C
oklch(21.1% 0.057 309)
HEX
#20102C
OKLCH
oklch(21.1% 0.057 309)
RGB
rgb(32, 16, 44)
HSL
hsl(274deg 47% 12%)
Relative Luminance
Y = 0.0086
Using #20102C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1:1
Using #20102C as Button / Surface Fill
White ink (#FFFFFF) on #20102C
Contrast ratio 17.92:1
Dark ink (#0F172A) on #20102C
Contrast ratio 1:1
Recommended accessible ink on #20102C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.