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
Sample text on Slate (#0F172A)
Contrast ratio 3.05:1
Using #5A5FA1 as Button / Surface Fill
White ink (#FFFFFF) on #5A5FA1
Contrast ratio 5.86:1
Dark ink (#0F172A) on #5A5FA1
Contrast ratio 3.05:1
Recommended accessible ink on #5A5FA1: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.