Color Reference · Midnight Slate
#2C182F
oklch(24.7% 0.051 322)
HEX
#2C182F
OKLCH
oklch(24.7% 0.051 322)
RGB
rgb(44, 24, 47)
HSL
hsl(292deg 32% 14%)
Relative Luminance
Y = 0.0139
Using #2C182F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.42:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #2C182F as Button / Surface Fill
White ink (#FFFFFF) on #2C182F
Contrast ratio 16.42:1
Dark ink (#0F172A) on #2C182F
Contrast ratio 1.09:1
Recommended accessible ink on #2C182F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.