Color Reference · Cosmic Dusk

#282C5F

oklch(31.9% 0.089 277)

HEX
#282C5F
OKLCH
oklch(31.9% 0.089 277)
RGB
rgb(40, 44, 95)
HSL
hsl(236deg 41% 26%)
Relative Luminance
Y = 0.0308

Using #282C5F as Text Foreground

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

Using #282C5F as Button / Surface Fill

White ink (#FFFFFF) on #282C5F
Contrast ratio 13:1
AAA
Dark ink (#0F172A) on #282C5F
Contrast ratio 1.37:1
Fail

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