Color Reference · Midnight Slate
#2A223B
oklch(27.3% 0.046 298)
HEX
#2A223B
OKLCH
oklch(27.3% 0.046 298)
RGB
rgb(42, 34, 59)
HSL
hsl(259deg 27% 18%)
Relative Luminance
Y = 0.0195
Using #2A223B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.1:1
Sample text on Slate (#0F172A)
Contrast ratio 1.18:1
Using #2A223B as Button / Surface Fill
White ink (#FFFFFF) on #2A223B
Contrast ratio 15.1:1
Dark ink (#0F172A) on #2A223B
Contrast ratio 1.18:1
Recommended accessible ink on #2A223B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.