Color Reference · Midnight Slate
#2A102E
oklch(22.8% 0.065 322)
HEX
#2A102E
OKLCH
oklch(22.8% 0.065 322)
RGB
rgb(42, 16, 46)
HSL
hsl(292deg 48% 12%)
Relative Luminance
Y = 0.0106
Using #2A102E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.33:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #2A102E as Button / Surface Fill
White ink (#FFFFFF) on #2A102E
Contrast ratio 17.33:1
Dark ink (#0F172A) on #2A102E
Contrast ratio 1.03:1
Recommended accessible ink on #2A102E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.