Color Reference · Midnight Slate
#181C29
oklch(22.9% 0.026 271)
HEX
#181C29
OKLCH
oklch(22.9% 0.026 271)
RGB
rgb(24, 28, 41)
HSL
hsl(226deg 26% 13%)
Relative Luminance
Y = 0.0118
Using #181C29 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.98:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #181C29 as Button / Surface Fill
White ink (#FFFFFF) on #181C29
Contrast ratio 16.98:1
Dark ink (#0F172A) on #181C29
Contrast ratio 1.05:1
Recommended accessible ink on #181C29: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.