Color Reference · Cosmic Dusk

#403254

oklch(34.8% 0.06 302)

HEX
#403254
OKLCH
oklch(34.8% 0.06 302)
RGB
rgb(64, 50, 84)
HSL
hsl(265deg 25% 26%)
Relative Luminance
Y = 0.0401

Using #403254 as Text Foreground

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

Using #403254 as Button / Surface Fill

White ink (#FFFFFF) on #403254
Contrast ratio 11.65:1
AAA
Dark ink (#0F172A) on #403254
Contrast ratio 1.53:1
Fail

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