Color Reference · Cosmic Dusk
#313587
oklch(37.7% 0.135 276)
HEX
#313587
OKLCH
oklch(37.7% 0.135 276)
RGB
rgb(49, 53, 135)
HSL
hsl(237deg 47% 36%)
Relative Luminance
Y = 0.0495
Using #313587 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 10.55:1
Sample text on Slate (#0F172A)
Contrast ratio 1.69:1
Using #313587 as Button / Surface Fill
White ink (#FFFFFF) on #313587
Contrast ratio 10.55:1
Dark ink (#0F172A) on #313587
Contrast ratio 1.69:1
Recommended accessible ink on #313587: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.