Color Reference · Cobalt Sapphire

#798BD8

oklch(65.5% 0.117 273)

HEX
#798BD8
OKLCH
oklch(65.5% 0.117 273)
RGB
rgb(121, 139, 216)
HSL
hsl(229deg 55% 66%)
Relative Luminance
Y = 0.2749

Using #798BD8 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 3.23:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 5.52:1
AA
OKLCH AA text-on-white fix: #5F70BA (4.65:1)Open Checker →

Using #798BD8 as Button / Surface Fill

White ink (#FFFFFF) on #798BD8
Contrast ratio 3.23:1
AA Large
Dark ink (#0F172A) on #798BD8
Contrast ratio 5.52:1
AA

Recommended accessible ink on #798BD8: #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 #798BD8