Color Reference · Cool Pewter
#5161A2
oklch(51% 0.105 272)
HEX
#5161A2
OKLCH
oklch(51% 0.105 272)
RGB
rgb(81, 97, 162)
HSL
hsl(228deg 33% 48%)
Relative Luminance
Y = 0.1291
Using #5161A2 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 5.86:1
Sample text on Slate (#0F172A)
Contrast ratio 3.04:1
Using #5161A2 as Button / Surface Fill
White ink (#FFFFFF) on #5161A2
Contrast ratio 5.86:1
Dark ink (#0F172A) on #5161A2
Contrast ratio 3.04:1
Recommended accessible ink on #5161A2: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.