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