Color Reference · Midnight Slate
#20142E
oklch(22.1% 0.051 304)
HEX
#20142E
OKLCH
oklch(22.1% 0.051 304)
RGB
rgb(32, 20, 46)
HSL
hsl(268deg 39% 13%)
Relative Luminance
Y = 0.01
Using #20142E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.49:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #20142E as Button / Surface Fill
White ink (#FFFFFF) on #20142E
Contrast ratio 17.49:1
Dark ink (#0F172A) on #20142E
Contrast ratio 1.02:1
Recommended accessible ink on #20142E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.