Color Reference · Royal Ultramarine

#2B71CC

oklch(55.3% 0.157 257)

HEX
#2B71CC
OKLCH
oklch(55.3% 0.157 257)
RGB
rgb(43, 113, 204)
HSL
hsl(214deg 65% 48%)
Relative Luminance
Y = 0.1668

Using #2B71CC as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.84:1
AA
Sample text on Slate (#0F172A)
Contrast ratio 3.69:1
AA Large

Using #2B71CC as Button / Surface Fill

White ink (#FFFFFF) on #2B71CC
Contrast ratio 4.84:1
AA
Dark ink (#0F172A) on #2B71CC
Contrast ratio 3.69:1
AA Large

Recommended accessible ink on #2B71CC: #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 #2B71CC