Color Reference · Midnight Slate
#1F1122
oklch(20.5% 0.039 320)
HEX
#1F1122
OKLCH
oklch(20.5% 0.039 320)
RGB
rgb(31, 17, 34)
HSL
hsl(289deg 33% 10%)
Relative Luminance
Y = 0.0081
Using #1F1122 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.08:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #1F1122 as Button / Surface Fill
White ink (#FFFFFF) on #1F1122
Contrast ratio 18.08:1
Dark ink (#0F172A) on #1F1122
Contrast ratio 1.01:1
Recommended accessible ink on #1F1122: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.