Color Reference · Midnight Slate
#2A233C
oklch(27.6% 0.046 296)
HEX
#2A233C
OKLCH
oklch(27.6% 0.046 296)
RGB
rgb(42, 35, 60)
HSL
hsl(257deg 26% 19%)
Relative Luminance
Y = 0.0202
Using #2A233C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.96:1
Sample text on Slate (#0F172A)
Contrast ratio 1.19:1
Using #2A233C as Button / Surface Fill
White ink (#FFFFFF) on #2A233C
Contrast ratio 14.96:1
Dark ink (#0F172A) on #2A233C
Contrast ratio 1.19:1
Recommended accessible ink on #2A233C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.