Color Reference · Midnight Slate
#181D2E
oklch(23.4% 0.034 271)
HEX
#181D2E
OKLCH
oklch(23.4% 0.034 271)
RGB
rgb(24, 29, 46)
HSL
hsl(226deg 31% 14%)
Relative Luminance
Y = 0.0127
Using #181D2E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.75:1
Sample text on Slate (#0F172A)
Contrast ratio 1.07:1
Using #181D2E as Button / Surface Fill
White ink (#FFFFFF) on #181D2E
Contrast ratio 16.75:1
Dark ink (#0F172A) on #181D2E
Contrast ratio 1.07:1
Recommended accessible ink on #181D2E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.