Color Reference · Midnight Slate
#181525
oklch(20.8% 0.031 292)
HEX
#181525
OKLCH
oklch(20.8% 0.031 292)
RGB
rgb(24, 21, 37)
HSL
hsl(251deg 28% 11%)
Relative Luminance
Y = 0.0086
Using #181525 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.91:1
Sample text on Slate (#0F172A)
Contrast ratio 1:1
Using #181525 as Button / Surface Fill
White ink (#FFFFFF) on #181525
Contrast ratio 17.91:1
Dark ink (#0F172A) on #181525
Contrast ratio 1:1
Recommended accessible ink on #181525: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.