Color Reference · Midnight Slate
#2A182C
oklch(24.2% 0.045 323)
HEX
#2A182C
OKLCH
oklch(24.2% 0.045 323)
RGB
rgb(42, 24, 44)
HSL
hsl(294deg 29% 13%)
Relative Luminance
Y = 0.0133
Using #2A182C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.59:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #2A182C as Button / Surface Fill
White ink (#FFFFFF) on #2A182C
Contrast ratio 16.59:1
Dark ink (#0F172A) on #2A182C
Contrast ratio 1.08:1
Recommended accessible ink on #2A182C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.