Color Reference · Midnight Slate
#181520
oklch(20.5% 0.022 297)
HEX
#181520
OKLCH
oklch(20.5% 0.022 297)
RGB
rgb(24, 21, 32)
HSL
hsl(256deg 21% 10%)
Relative Luminance
Y = 0.0083
Using #181520 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #181520 as Button / Surface Fill
White ink (#FFFFFF) on #181520
Contrast ratio 18:1
Dark ink (#0F172A) on #181520
Contrast ratio 1.01:1
Recommended accessible ink on #181520: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.