Color Reference · Cosmic Dusk

#38396B

oklch(37% 0.085 281)

HEX
#38396B
OKLCH
oklch(37% 0.085 281)
RGB
rgb(56, 57, 107)
HSL
hsl(239deg 31% 32%)
Relative Luminance
Y = 0.0483

Using #38396B as Text Foreground

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

Using #38396B as Button / Surface Fill

White ink (#FFFFFF) on #38396B
Contrast ratio 10.68:1
AAA
Dark ink (#0F172A) on #38396B
Contrast ratio 1.67:1
Fail

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