Color Reference · Cosmic Dusk

#302256

oklch(29.9% 0.09 292)

HEX
#302256
OKLCH
oklch(29.9% 0.09 292)
RGB
rgb(48, 34, 86)
HSL
hsl(256deg 43% 24%)
Relative Luminance
Y = 0.0244

Using #302256 as Text Foreground

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

Using #302256 as Button / Surface Fill

White ink (#FFFFFF) on #302256
Contrast ratio 14.1:1
AAA
Dark ink (#0F172A) on #302256
Contrast ratio 1.27:1
Fail

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