Color Reference · Midnight Slate
#181122
oklch(19.6% 0.035 302)
HEX
#181122
OKLCH
oklch(19.6% 0.035 302)
RGB
rgb(24, 17, 34)
HSL
hsl(265deg 33% 10%)
Relative Luminance
Y = 0.0071
Using #181122 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.39:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #181122 as Button / Surface Fill
White ink (#FFFFFF) on #181122
Contrast ratio 18.39:1
Dark ink (#0F172A) on #181122
Contrast ratio 1.03:1
Recommended accessible ink on #181122: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.