Color Reference · Midnight Slate
#161C2A
oklch(22.7% 0.029 266)
HEX
#161C2A
OKLCH
oklch(22.7% 0.029 266)
RGB
rgb(22, 28, 42)
HSL
hsl(222deg 31% 13%)
Relative Luminance
Y = 0.0117
Using #161C2A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.02:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #161C2A as Button / Surface Fill
White ink (#FFFFFF) on #161C2A
Contrast ratio 17.02:1
Dark ink (#0F172A) on #161C2A
Contrast ratio 1.05:1
Recommended accessible ink on #161C2A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.