Color Reference · Cornflower Silk

#7997FF

oklch(70% 0.156 270)

HEX
#7997FF
OKLCH
oklch(70% 0.156 270)
RGB
rgb(121, 151, 255)
HSL
hsl(227deg 100% 74%)
Relative Luminance
Y = 0.3342

Using #7997FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 2.73:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 6.53:1
AA
OKLCH AA text-on-white fix: #536DD1 (4.69:1)Open Checker →

Using #7997FF as Button / Surface Fill

White ink (#FFFFFF) on #7997FF
Contrast ratio 2.73:1
Fail
Dark ink (#0F172A) on #7997FF
Contrast ratio 6.53:1
AA

Recommended accessible ink on #7997FF: #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 #7997FF