Color Reference · Cosmic Dusk

#2D326F

oklch(34.8% 0.104 276)

HEX
#2D326F
OKLCH
oklch(34.8% 0.104 276)
RGB
rgb(45, 50, 111)
HSL
hsl(235deg 42% 31%)
Relative Luminance
Y = 0.0399

Using #2D326F 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 #2D326F as Button / Surface Fill

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

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