Color Reference · Midnight Slate
#151C27
oklch(22.5% 0.024 259)
HEX
#151C27
OKLCH
oklch(22.5% 0.024 259)
RGB
rgb(21, 28, 39)
HSL
hsl(217deg 30% 12%)
Relative Luminance
Y = 0.0114
Using #151C27 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.11:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #151C27 as Button / Surface Fill
White ink (#FFFFFF) on #151C27
Contrast ratio 17.11:1
Dark ink (#0F172A) on #151C27
Contrast ratio 1.04:1
Recommended accessible ink on #151C27: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.