Color Reference · Cosmic Dusk
#313371
oklch(35.5% 0.105 278)
HEX
#313371
OKLCH
oklch(35.5% 0.105 278)
RGB
rgb(49, 51, 113)
HSL
hsl(238deg 40% 32%)
Relative Luminance
Y = 0.0421
Using #313371 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 11.4:1
Sample text on Slate (#0F172A)
Contrast ratio 1.57:1
Using #313371 as Button / Surface Fill
White ink (#FFFFFF) on #313371
Contrast ratio 11.4:1
Dark ink (#0F172A) on #313371
Contrast ratio 1.57:1
Recommended accessible ink on #313371: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.