Color Reference · Midnight Slate
#152147
oklch(26.1% 0.073 268)
HEX
#152147
OKLCH
oklch(26.1% 0.073 268)
RGB
rgb(21, 33, 71)
HSL
hsl(226deg 54% 18%)
Relative Luminance
Y = 0.017
Using #152147 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.67:1
Sample text on Slate (#0F172A)
Contrast ratio 1.14:1
Using #152147 as Button / Surface Fill
White ink (#FFFFFF) on #152147
Contrast ratio 15.67:1
Dark ink (#0F172A) on #152147
Contrast ratio 1.14:1
Recommended accessible ink on #152147: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.