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