Color Reference · Midnight Slate
#151B31
oklch(22.8% 0.044 271)
HEX
#151B31
OKLCH
oklch(22.8% 0.044 271)
RGB
rgb(21, 27, 49)
HSL
hsl(227deg 40% 14%)
Relative Luminance
Y = 0.0117
Using #151B31 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.03:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #151B31 as Button / Surface Fill
White ink (#FFFFFF) on #151B31
Contrast ratio 17.03:1
Dark ink (#0F172A) on #151B31
Contrast ratio 1.05:1
Recommended accessible ink on #151B31: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.