Color Reference · Cool Pewter

#5A5FA1

oklch(51.2% 0.104 279)

HEX
#5A5FA1
OKLCH
oklch(51.2% 0.104 279)
RGB
rgb(90, 95, 161)
HSL
hsl(236deg 28% 49%)
Relative Luminance
Y = 0.1293

Using #5A5FA1 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 5.86:1
AA
Sample text on Slate (#0F172A)
Contrast ratio 3.05:1
AA Large

Using #5A5FA1 as Button / Surface Fill

White ink (#FFFFFF) on #5A5FA1
Contrast ratio 5.86:1
AA
Dark ink (#0F172A) on #5A5FA1
Contrast ratio 3.05:1
AA Large

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