Color Reference · Midnight Slate
#2A2245
oklch(28% 0.063 292)
HEX
#2A2245
OKLCH
oklch(28% 0.063 292)
RGB
rgb(42, 34, 69)
HSL
hsl(254deg 34% 20%)
Relative Luminance
Y = 0.0207
Using #2A2245 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.86:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #2A2245 as Button / Surface Fill
White ink (#FFFFFF) on #2A2245
Contrast ratio 14.86:1
Dark ink (#0F172A) on #2A2245
Contrast ratio 1.2:1
Recommended accessible ink on #2A2245: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.