Color Reference · Cosmic Dusk

#372971

oklch(34.1% 0.119 287)

HEX
#372971
OKLCH
oklch(34.1% 0.119 287)
RGB
rgb(55, 41, 113)
HSL
hsl(252deg 47% 30%)
Relative Luminance
Y = 0.0359

Using #372971 as Text Foreground

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

Using #372971 as Button / Surface Fill

White ink (#FFFFFF) on #372971
Contrast ratio 12.22:1
AAA
Dark ink (#0F172A) on #372971
Contrast ratio 1.46:1
Fail

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