Color Reference · Cornflower Silk

#40A5FF

oklch(70.5% 0.161 249)

HEX
#40A5FF
OKLCH
oklch(70.5% 0.161 249)
RGB
rgb(64, 165, 255)
HSL
hsl(208deg 100% 63%)
Relative Luminance
Y = 0.3522

Using #40A5FF as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 2.61:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 6.84:1
AA
OKLCH AA text-on-white fix: #0076CC (4.71:1)Open Checker →

Using #40A5FF as Button / Surface Fill

White ink (#FFFFFF) on #40A5FF
Contrast ratio 2.61:1
Fail
Dark ink (#0F172A) on #40A5FF
Contrast ratio 6.84:1
AA

Recommended accessible ink on #40A5FF: #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 #40A5FF