Color Reference · Midnight Slate
#162240
oklch(25.8% 0.059 266)
HEX
#162240
OKLCH
oklch(25.8% 0.059 266)
RGB
rgb(22, 34, 64)
HSL
hsl(223deg 49% 17%)
Relative Luminance
Y = 0.0168
Using #162240 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.71:1
Sample text on Slate (#0F172A)
Contrast ratio 1.14:1
Using #162240 as Button / Surface Fill
White ink (#FFFFFF) on #162240
Contrast ratio 15.71:1
Dark ink (#0F172A) on #162240
Contrast ratio 1.14:1
Recommended accessible ink on #162240: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.