Color Reference · Midnight Slate
#2C172F
oklch(24.5% 0.053 322)
HEX
#2C172F
OKLCH
oklch(24.5% 0.053 322)
RGB
rgb(44, 23, 47)
HSL
hsl(293deg 34% 14%)
Relative Luminance
Y = 0.0135
Using #2C172F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.53:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #2C172F as Button / Surface Fill
White ink (#FFFFFF) on #2C172F
Contrast ratio 16.53:1
Dark ink (#0F172A) on #2C172F
Contrast ratio 1.08:1
Recommended accessible ink on #2C172F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.