Color Reference · Cosmic Dusk

#342E60

oklch(33.5% 0.086 286)

HEX
#342E60
OKLCH
oklch(33.5% 0.086 286)
RGB
rgb(52, 46, 96)
HSL
hsl(247deg 35% 28%)
Relative Luminance
Y = 0.0353

Using #342E60 as Text Foreground

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

Using #342E60 as Button / Surface Fill

White ink (#FFFFFF) on #342E60
Contrast ratio 12.31:1
AAA
Dark ink (#0F172A) on #342E60
Contrast ratio 1.45:1
Fail

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