Color Reference · Cosmic Dusk

#313462

oklch(34.7% 0.079 279)

HEX
#313462
OKLCH
oklch(34.7% 0.079 279)
RGB
rgb(49, 52, 98)
HSL
hsl(236deg 33% 29%)
Relative Luminance
Y = 0.0399

Using #313462 as Text Foreground

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

Using #313462 as Button / Surface Fill

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

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