Color Reference · Midnight Slate
#151C2F
oklch(23% 0.038 268)
HEX
#151C2F
OKLCH
oklch(23% 0.038 268)
RGB
rgb(21, 28, 47)
HSL
hsl(224deg 38% 13%)
Relative Luminance
Y = 0.012
Using #151C2F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.95:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #151C2F as Button / Surface Fill
White ink (#FFFFFF) on #151C2F
Contrast ratio 16.95:1
Dark ink (#0F172A) on #151C2F
Contrast ratio 1.05:1
Recommended accessible ink on #151C2F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.