Color Reference · Cosmic Dusk
#2A255F
oklch(30.6% 0.1 283)
HEX
#2A255F
OKLCH
oklch(30.6% 0.1 283)
RGB
rgb(42, 37, 95)
HSL
hsl(245deg 44% 26%)
Relative Luminance
Y = 0.0264
Using #2A255F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.74:1
Sample text on Slate (#0F172A)
Contrast ratio 1.3:1
Using #2A255F as Button / Surface Fill
White ink (#FFFFFF) on #2A255F
Contrast ratio 13.74:1
Dark ink (#0F172A) on #2A255F
Contrast ratio 1.3:1
Recommended accessible ink on #2A255F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.