Color Reference · Cosmic Dusk

#403256

oklch(34.9% 0.063 301)

HEX
#403256
OKLCH
oklch(34.9% 0.063 301)
RGB
rgb(64, 50, 86)
HSL
hsl(263deg 26% 27%)
Relative Luminance
Y = 0.0404

Using #403256 as Text Foreground

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

Using #403256 as Button / Surface Fill

White ink (#FFFFFF) on #403256
Contrast ratio 11.61:1
AAA
Dark ink (#0F172A) on #403256
Contrast ratio 1.54:1
Fail

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