Color Reference · Cosmic Dusk

#342B60

oklch(32.9% 0.091 288)

HEX
#342B60
OKLCH
oklch(32.9% 0.091 288)
RGB
rgb(52, 43, 96)
HSL
hsl(250deg 38% 27%)
Relative Luminance
Y = 0.033

Using #342B60 as Text Foreground

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

Using #342B60 as Button / Surface Fill

White ink (#FFFFFF) on #342B60
Contrast ratio 12.65:1
AAA
Dark ink (#0F172A) on #342B60
Contrast ratio 1.41:1
Fail

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