Color Reference · Midnight Slate
#2A1532
oklch(24% 0.06 316)
HEX
#2A1532
OKLCH
oklch(24% 0.06 316)
RGB
rgb(42, 21, 50)
HSL
hsl(283deg 41% 14%)
Relative Luminance
Y = 0.0126
Using #2A1532 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.78:1
Sample text on Slate (#0F172A)
Contrast ratio 1.06:1
Using #2A1532 as Button / Surface Fill
White ink (#FFFFFF) on #2A1532
Contrast ratio 16.78:1
Dark ink (#0F172A) on #2A1532
Contrast ratio 1.06:1
Recommended accessible ink on #2A1532: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.