Color Reference · Cornflower Silk

#04A8FF

oklch(70.3% 0.169 243)

HEX
#04A8FF
OKLCH
oklch(70.3% 0.169 243)
RGB
rgb(4, 168, 255)
HSL
hsl(201deg 100% 51%)
Relative Luminance
Y = 0.3525

Using #04A8FF 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: #0078CC (4.61:1)Open Checker →

Using #04A8FF as Button / Surface Fill

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

Recommended accessible ink on #04A8FF: #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 #04A8FF