Color Reference · Midnight Slate
#301229
oklch(23.8% 0.06 337)
HEX
#301229
OKLCH
oklch(23.8% 0.06 337)
RGB
rgb(48, 18, 41)
HSL
hsl(314deg 45% 13%)
Relative Luminance
Y = 0.0122
Using #301229 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.88:1
Sample text on Slate (#0F172A)
Contrast ratio 1.06:1
Using #301229 as Button / Surface Fill
White ink (#FFFFFF) on #301229
Contrast ratio 16.88:1
Dark ink (#0F172A) on #301229
Contrast ratio 1.06:1
Recommended accessible ink on #301229: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.