Color Reference · Cosmic Dusk

#282157

oklch(28.9% 0.094 285)

HEX
#282157
OKLCH
oklch(28.9% 0.094 285)
RGB
rgb(40, 33, 87)
HSL
hsl(248deg 45% 24%)
Relative Luminance
Y = 0.0223

Using #282157 as Text Foreground

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

Using #282157 as Button / Surface Fill

White ink (#FFFFFF) on #282157
Contrast ratio 14.53:1
AAA
Dark ink (#0F172A) on #282157
Contrast ratio 1.23:1
Fail

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