Color Reference · Midnight Slate
#181C35
oklch(23.6% 0.048 275)
HEX
#181C35
OKLCH
oklch(23.6% 0.048 275)
RGB
rgb(24, 28, 53)
HSL
hsl(232deg 38% 15%)
Relative Luminance
Y = 0.0128
Using #181C35 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.72:1
Sample text on Slate (#0F172A)
Contrast ratio 1.07:1
Using #181C35 as Button / Surface Fill
White ink (#FFFFFF) on #181C35
Contrast ratio 16.72:1
Dark ink (#0F172A) on #181C35
Contrast ratio 1.07:1
Recommended accessible ink on #181C35: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.