Color Reference · Midnight Slate
#1E1124
oklch(20.5% 0.041 315)
HEX
#1E1124
OKLCH
oklch(20.5% 0.041 315)
RGB
rgb(30, 17, 36)
HSL
hsl(281deg 36% 10%)
Relative Luminance
Y = 0.008
Using #1E1124 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.09:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #1E1124 as Button / Surface Fill
White ink (#FFFFFF) on #1E1124
Contrast ratio 18.09:1
Dark ink (#0F172A) on #1E1124
Contrast ratio 1.01:1
Recommended accessible ink on #1E1124: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.