Color Reference · Cool Pewter

#797E97

oklch(59.8% 0.038 276)

HEX
#797E97
OKLCH
oklch(59.8% 0.038 276)
RGB
rgb(121, 126, 151)
HSL
hsl(230deg 13% 53%)
Relative Luminance
Y = 0.2122

Using #797E97 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.46:1
AA Large
OKLCH AA text-on-white fix: #6C7189 (4.82:1)Open Checker →

Using #797E97 as Button / Surface Fill

White ink (#FFFFFF) on #797E97
Contrast ratio 4:1
AA Large
Dark ink (#0F172A) on #797E97
Contrast ratio 4.46:1
AA Large

Recommended accessible ink on #797E97: #0F172A.

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 #797E97