Color Reference · Cobalt Sapphire

#4F7DC4

oklch(58.9% 0.121 259)

HEX
#4F7DC4
OKLCH
oklch(58.9% 0.121 259)
RGB
rgb(79, 125, 196)
HSL
hsl(216deg 50% 54%)
Relative Luminance
Y = 0.2032

Using #4F7DC4 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: #4674BA (4.7:1)Open Checker →

Using #4F7DC4 as Button / Surface Fill

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

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