Color Reference · Cosmic Dusk

#372A74

oklch(34.5% 0.122 286)

HEX
#372A74
OKLCH
oklch(34.5% 0.122 286)
RGB
rgb(55, 42, 116)
HSL
hsl(251deg 47% 31%)
Relative Luminance
Y = 0.0373

Using #372A74 as Text Foreground

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

Using #372A74 as Button / Surface Fill

White ink (#FFFFFF) on #372A74
Contrast ratio 12.03:1
AAA
Dark ink (#0F172A) on #372A74
Contrast ratio 1.48:1
Fail

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