Color Reference · Midnight Slate
#2A182B
oklch(24.2% 0.044 325)
HEX
#2A182B
OKLCH
oklch(24.2% 0.044 325)
RGB
rgb(42, 24, 43)
HSL
hsl(297deg 28% 13%)
Relative Luminance
Y = 0.0132
Using #2A182B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.61:1
Sample text on Slate (#0F172A)
Contrast ratio 1.07:1
Using #2A182B as Button / Surface Fill
White ink (#FFFFFF) on #2A182B
Contrast ratio 16.61:1
Dark ink (#0F172A) on #2A182B
Contrast ratio 1.07:1
Recommended accessible ink on #2A182B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.