Color Reference · Cornflower Silk

#42A5FF

oklch(70.6% 0.161 249)

HEX
#42A5FF
OKLCH
oklch(70.6% 0.161 249)
RGB
rgb(66, 165, 255)
HSL
hsl(209deg 100% 63%)
Relative Luminance
Y = 0.3529

Using #42A5FF as Text Foreground

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

Using #42A5FF as Button / Surface Fill

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

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