Color Reference · Midnight Slate
#151B37
oklch(23.3% 0.055 272)
HEX
#151B37
OKLCH
oklch(23.3% 0.055 272)
RGB
rgb(21, 27, 55)
HSL
hsl(229deg 45% 15%)
Relative Luminance
Y = 0.0122
Using #151B37 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.88:1
Sample text on Slate (#0F172A)
Contrast ratio 1.06:1
Using #151B37 as Button / Surface Fill
White ink (#FFFFFF) on #151B37
Contrast ratio 16.88:1
Dark ink (#0F172A) on #151B37
Contrast ratio 1.06:1
Recommended accessible ink on #151B37: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.