Color Reference · Midnight Slate
#2B2149
oklch(28.2% 0.072 293)
HEX
#2B2149
OKLCH
oklch(28.2% 0.072 293)
RGB
rgb(43, 33, 73)
HSL
hsl(255deg 38% 21%)
Relative Luminance
Y = 0.0208
Using #2B2149 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.83:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #2B2149 as Button / Surface Fill
White ink (#FFFFFF) on #2B2149
Contrast ratio 14.83:1
Dark ink (#0F172A) on #2B2149
Contrast ratio 1.2:1
Recommended accessible ink on #2B2149: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.