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