Color Reference · Cosmic Dusk

#2C2155

oklch(29.2% 0.09 289)

HEX
#2C2155
OKLCH
oklch(29.2% 0.09 289)
RGB
rgb(44, 33, 85)
HSL
hsl(253deg 44% 23%)
Relative Luminance
Y = 0.0228

Using #2C2155 as Text Foreground

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

Using #2C2155 as Button / Surface Fill

White ink (#FFFFFF) on #2C2155
Contrast ratio 14.42:1
AAA
Dark ink (#0F172A) on #2C2155
Contrast ratio 1.24:1
Fail

Recommended accessible ink on #2C2155: #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 #2C2155