Color Reference · Cool Pewter

#40708B

oklch(52.2% 0.067 235)

HEX
#40708B
OKLCH
oklch(52.2% 0.067 235)
RGB
rgb(64, 112, 139)
HSL
hsl(202deg 37% 40%)
Relative Luminance
Y = 0.1454

Using #40708B as Text Foreground

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

Using #40708B as Button / Surface Fill

White ink (#FFFFFF) on #40708B
Contrast ratio 5.37:1
AA
Dark ink (#0F172A) on #40708B
Contrast ratio 3.32:1
AA Large

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