Color Reference · Midnight Slate
#312233
oklch(27.7% 0.037 323)
HEX
#312233
OKLCH
oklch(27.7% 0.037 323)
RGB
rgb(49, 34, 51)
HSL
hsl(293deg 20% 17%)
Relative Luminance
Y = 0.0204
Using #312233 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #312233 as Button / Surface Fill
White ink (#FFFFFF) on #312233
Contrast ratio 14.92:1
Dark ink (#0F172A) on #312233
Contrast ratio 1.2:1
Recommended accessible ink on #312233: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.