Color Reference · Cosmic Dusk

#342D57

oklch(32.6% 0.073 289)

HEX
#342D57
OKLCH
oklch(32.6% 0.073 289)
RGB
rgb(52, 45, 87)
HSL
hsl(250deg 32% 26%)
Relative Luminance
Y = 0.0329

Using #342D57 as Text Foreground

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

Using #342D57 as Button / Surface Fill

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

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