Color Reference · Cobalt Sapphire

#5F7CD0

oklch(60.3% 0.132 268)

HEX
#5F7CD0
OKLCH
oklch(60.3% 0.132 268)
RGB
rgb(95, 124, 208)
HSL
hsl(225deg 55% 59%)
Relative Luminance
Y = 0.214

Using #5F7CD0 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 3.98:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.49:1
AA Large
OKLCH AA text-on-white fix: #526EC1 (4.82:1)Open Checker →

Using #5F7CD0 as Button / Surface Fill

White ink (#FFFFFF) on #5F7CD0
Contrast ratio 3.98:1
AA Large
Dark ink (#0F172A) on #5F7CD0
Contrast ratio 4.49:1
AA Large

Recommended accessible ink on #5F7CD0: #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 #5F7CD0