Color Reference · Cobalt Sapphire

#628BC5

oklch(63.1% 0.099 257)

HEX
#628BC5
OKLCH
oklch(63.1% 0.099 257)
RGB
rgb(98, 139, 197)
HSL
hsl(215deg 46% 58%)
Relative Luminance
Y = 0.2509

Using #628BC5 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 3.49:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 5.12:1
AA
OKLCH AA text-on-white fix: #4C74AD (4.76:1)Open Checker →

Using #628BC5 as Button / Surface Fill

White ink (#FFFFFF) on #628BC5
Contrast ratio 3.49:1
AA Large
Dark ink (#0F172A) on #628BC5
Contrast ratio 5.12:1
AA

Recommended accessible ink on #628BC5: #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 #628BC5