Color Reference · Cosmic Dusk

#282F5E

oklch(32.5% 0.083 274)

HEX
#282F5E
OKLCH
oklch(32.5% 0.083 274)
RGB
rgb(40, 47, 94)
HSL
hsl(232deg 40% 26%)
Relative Luminance
Y = 0.0329

Using #282F5E as Text Foreground

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

Using #282F5E as Button / Surface Fill

White ink (#FFFFFF) on #282F5E
Contrast ratio 12.66:1
AAA
Dark ink (#0F172A) on #282F5E
Contrast ratio 1.41:1
Fail

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