Color Reference · Midnight Slate
#12152A
oklch(20.5% 0.042 276)
HEX
#12152A
OKLCH
oklch(20.5% 0.042 276)
RGB
rgb(18, 21, 42)
HSL
hsl(233deg 40% 12%)
Relative Luminance
Y = 0.0083
Using #12152A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #12152A as Button / Surface Fill
White ink (#FFFFFF) on #12152A
Contrast ratio 18:1
Dark ink (#0F172A) on #12152A
Contrast ratio 1.01:1
Recommended accessible ink on #12152A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.