Color Reference · Cool Pewter

#5F7D8A

oklch(57.1% 0.04 226)

HEX
#5F7D8A
OKLCH
oklch(57.1% 0.04 226)
RGB
rgb(95, 125, 138)
HSL
hsl(198deg 18% 46%)
Relative Luminance
Y = 0.1894

Using #5F7D8A as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.39:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.07:1
AA Large
OKLCH AA text-on-white fix: #5B7985 (4.65:1)Open Checker →

Using #5F7D8A as Button / Surface Fill

White ink (#FFFFFF) on #5F7D8A
Contrast ratio 4.39:1
AA Large
Dark ink (#0F172A) on #5F7D8A
Contrast ratio 4.07:1
AA Large

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