Color Reference · Cobalt Sapphire

#4E7DC4

oklch(58.9% 0.121 258)

HEX
#4E7DC4
OKLCH
oklch(58.9% 0.121 258)
RGB
rgb(78, 125, 196)
HSL
hsl(216deg 50% 54%)
Relative Luminance
Y = 0.2027

Using #4E7DC4 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.15:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.3:1
AA Large
OKLCH AA text-on-white fix: #4574BA (4.71:1)Open Checker →

Using #4E7DC4 as Button / Surface Fill

White ink (#FFFFFF) on #4E7DC4
Contrast ratio 4.15:1
AA Large
Dark ink (#0F172A) on #4E7DC4
Contrast ratio 4.3:1
AA Large

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