Color Reference · Midnight Slate
#2A2134
oklch(26.7% 0.037 306)
HEX
#2A2134
OKLCH
oklch(26.7% 0.037 306)
RGB
rgb(42, 33, 52)
HSL
hsl(268deg 22% 17%)
Relative Luminance
Y = 0.0183
Using #2A2134 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.38:1
Sample text on Slate (#0F172A)
Contrast ratio 1.16:1
Using #2A2134 as Button / Surface Fill
White ink (#FFFFFF) on #2A2134
Contrast ratio 15.38:1
Dark ink (#0F172A) on #2A2134
Contrast ratio 1.16:1
Recommended accessible ink on #2A2134: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.