Color Reference · Cosmic Dusk
#2A335B
oklch(33.4% 0.071 272)
HEX
#2A335B
OKLCH
oklch(33.4% 0.071 272)
RGB
rgb(42, 51, 91)
HSL
hsl(229deg 37% 26%)
Relative Luminance
Y = 0.0362
Using #2A335B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 12.19:1
Sample text on Slate (#0F172A)
Contrast ratio 1.46:1
Using #2A335B as Button / Surface Fill
White ink (#FFFFFF) on #2A335B
Contrast ratio 12.19:1
Dark ink (#0F172A) on #2A335B
Contrast ratio 1.46:1
Recommended accessible ink on #2A335B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.