Color Reference · Cosmic Dusk

#301E4E

oklch(28.5% 0.085 298)

HEX
#301E4E
OKLCH
oklch(28.5% 0.085 298)
RGB
rgb(48, 30, 78)
HSL
hsl(263deg 44% 21%)
Relative Luminance
Y = 0.0211

Using #301E4E as Text Foreground

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

Using #301E4E as Button / Surface Fill

White ink (#FFFFFF) on #301E4E
Contrast ratio 14.77:1
AAA
Dark ink (#0F172A) on #301E4E
Contrast ratio 1.21:1
Fail

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