Color Reference · Midnight Slate
#232131
oklch(25.7% 0.03 290)
HEX
#232131
OKLCH
oklch(25.7% 0.03 290)
RGB
rgb(35, 33, 49)
HSL
hsl(248deg 20% 16%)
Relative Luminance
Y = 0.0167
Using #232131 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.75:1
Sample text on Slate (#0F172A)
Contrast ratio 1.13:1
Using #232131 as Button / Surface Fill
White ink (#FFFFFF) on #232131
Contrast ratio 15.75:1
Dark ink (#0F172A) on #232131
Contrast ratio 1.13:1
Recommended accessible ink on #232131: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.