Color Reference · Cosmic Dusk

#5A486E

oklch(43.6% 0.065 306)

HEX
#5A486E
OKLCH
oklch(43.6% 0.065 306)
RGB
rgb(90, 72, 110)
HSL
hsl(268deg 21% 36%)
Relative Luminance
Y = 0.0793

Using #5A486E as Text Foreground

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

Using #5A486E as Button / Surface Fill

White ink (#FFFFFF) on #5A486E
Contrast ratio 8.12:1
AAA
Dark ink (#0F172A) on #5A486E
Contrast ratio 2.2:1
Fail

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