Color Reference · Cosmic Dusk
#2A335F
oklch(33.7% 0.078 273)
HEX
#2A335F
OKLCH
oklch(33.7% 0.078 273)
RGB
rgb(42, 51, 95)
HSL
hsl(230deg 39% 27%)
Relative Luminance
Y = 0.0369
Using #2A335F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 12.09:1
Sample text on Slate (#0F172A)
Contrast ratio 1.48:1
Using #2A335F as Button / Surface Fill
White ink (#FFFFFF) on #2A335F
Contrast ratio 12.09:1
Dark ink (#0F172A) on #2A335F
Contrast ratio 1.48:1
Recommended accessible ink on #2A335F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.