Color Reference · Midnight Slate
#181B2B
oklch(22.7% 0.031 275)
HEX
#181B2B
OKLCH
oklch(22.7% 0.031 275)
RGB
rgb(24, 27, 43)
HSL
hsl(231deg 28% 13%)
Relative Luminance
Y = 0.0115
Using #181B2B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.07:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #181B2B as Button / Surface Fill
White ink (#FFFFFF) on #181B2B
Contrast ratio 17.07:1
Dark ink (#0F172A) on #181B2B
Contrast ratio 1.05:1
Recommended accessible ink on #181B2B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.