Color Reference · Midnight Slate
#20183A
oklch(23.9% 0.063 292)
HEX
#20183A
OKLCH
oklch(23.9% 0.063 292)
RGB
rgb(32, 24, 58)
HSL
hsl(254deg 41% 16%)
Relative Luminance
Y = 0.0127
Using #20183A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.76:1
Sample text on Slate (#0F172A)
Contrast ratio 1.07:1
Using #20183A as Button / Surface Fill
White ink (#FFFFFF) on #20183A
Contrast ratio 16.76:1
Dark ink (#0F172A) on #20183A
Contrast ratio 1.07:1
Recommended accessible ink on #20183A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.