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