Color Reference · Cobalt Sapphire

#1872F3

oklch(58% 0.21 259)

HEX
#1872F3
OKLCH
oklch(58% 0.21 259)
RGB
rgb(24, 114, 243)
HSL
hsl(215deg 90% 52%)
Relative Luminance
Y = 0.187

Using #1872F3 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.43:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.03:1
AA Large
OKLCH AA text-on-white fix: #116DEE (4.72:1)Open Checker →

Using #1872F3 as Button / Surface Fill

White ink (#FFFFFF) on #1872F3
Contrast ratio 4.43:1
AA Large
Dark ink (#0F172A) on #1872F3
Contrast ratio 4.03:1
AA Large

Recommended accessible ink on #1872F3: #FFFFFF.

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 #1872F3