Color Reference · Cosmic Dusk

#28255F

oklch(30.4% 0.1 281)

HEX
#28255F
OKLCH
oklch(30.4% 0.1 281)
RGB
rgb(40, 37, 95)
HSL
hsl(243deg 44% 26%)
Relative Luminance
Y = 0.026

Using #28255F as Text Foreground

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

Using #28255F as Button / Surface Fill

White ink (#FFFFFF) on #28255F
Contrast ratio 13.81:1
AAA
Dark ink (#0F172A) on #28255F
Contrast ratio 1.29:1
Fail

Recommended accessible ink on #28255F: #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 #28255F