Color Reference · Cosmic Dusk
#403CA2
oklch(42.4% 0.16 279)
HEX
#403CA2
OKLCH
oklch(42.4% 0.16 279)
RGB
rgb(64, 60, 162)
HSL
hsl(242deg 46% 44%)
Relative Luminance
Y = 0.0693
Using #403CA2 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 8.8:1
Sample text on Slate (#0F172A)
Contrast ratio 2.03:1
Using #403CA2 as Button / Surface Fill
White ink (#FFFFFF) on #403CA2
Contrast ratio 8.8:1
Dark ink (#0F172A) on #403CA2
Contrast ratio 2.03:1
Recommended accessible ink on #403CA2: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.