Color Reference · Midnight Slate
#2B1129
oklch(22.8% 0.058 330)
HEX
#2B1129
OKLCH
oklch(22.8% 0.058 330)
RGB
rgb(43, 17, 41)
HSL
hsl(305deg 43% 12%)
Relative Luminance
Y = 0.0107
Using #2B1129 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.29:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #2B1129 as Button / Surface Fill
White ink (#FFFFFF) on #2B1129
Contrast ratio 17.29:1
Dark ink (#0F172A) on #2B1129
Contrast ratio 1.03:1
Recommended accessible ink on #2B1129: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.