Color Reference · Cosmic Dusk

#2C255F

oklch(30.8% 0.099 284)

HEX
#2C255F
OKLCH
oklch(30.8% 0.099 284)
RGB
rgb(44, 37, 95)
HSL
hsl(247deg 44% 26%)
Relative Luminance
Y = 0.0268

Using #2C255F as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 13.66:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.31:1
Fail

Using #2C255F as Button / Surface Fill

White ink (#FFFFFF) on #2C255F
Contrast ratio 13.66:1
AAA
Dark ink (#0F172A) on #2C255F
Contrast ratio 1.31:1
Fail

Recommended accessible ink on #2C255F: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #2C255F