Color Reference · Cobalt Sapphire

#4E7EC4

oklch(59.1% 0.12 258)

HEX
#4E7EC4
OKLCH
oklch(59.1% 0.12 258)
RGB
rgb(78, 126, 196)
HSL
hsl(216deg 50% 54%)
Relative Luminance
Y = 0.2053

Using #4E7EC4 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.11:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.34:1
AA Large
OKLCH AA text-on-white fix: #4575BA (4.66:1)Open Checker →

Using #4E7EC4 as Button / Surface Fill

White ink (#FFFFFF) on #4E7EC4
Contrast ratio 4.11:1
AA Large
Dark ink (#0F172A) on #4E7EC4
Contrast ratio 4.34:1
AA Large

Recommended accessible ink on #4E7EC4: #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 #4E7EC4