Color Reference · Cosmic Dusk
#342A4F
oklch(31.5% 0.065 295)
HEX
#342A4F
OKLCH
oklch(31.5% 0.065 295)
RGB
rgb(52, 42, 79)
HSL
hsl(256deg 31% 24%)
Relative Luminance
Y = 0.0295
Using #342A4F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.21:1
Sample text on Slate (#0F172A)
Contrast ratio 1.35:1
Using #342A4F as Button / Surface Fill
White ink (#FFFFFF) on #342A4F
Contrast ratio 13.21:1
Dark ink (#0F172A) on #342A4F
Contrast ratio 1.35:1
Recommended accessible ink on #342A4F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.