Color Reference · Royal Ultramarine

#4E71C1

oklch(56.1% 0.131 265)

HEX
#4E71C1
OKLCH
oklch(56.1% 0.131 265)
RGB
rgb(78, 113, 193)
HSL
hsl(222deg 48% 53%)
Relative Luminance
Y = 0.1728

Using #4E71C1 as Text Foreground

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

Using #4E71C1 as Button / Surface Fill

White ink (#FFFFFF) on #4E71C1
Contrast ratio 4.71:1
AA
Dark ink (#0F172A) on #4E71C1
Contrast ratio 3.79:1
AA Large

Recommended accessible ink on #4E71C1: #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 #4E71C1