Color Reference · Royal Ultramarine

#5172AE

oklch(55.4% 0.101 262)

HEX
#5172AE
OKLCH
oklch(55.4% 0.101 262)
RGB
rgb(81, 114, 174)
HSL
hsl(219deg 36% 50%)
Relative Luminance
Y = 0.1684

Using #5172AE as Text Foreground

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

Using #5172AE as Button / Surface Fill

White ink (#FFFFFF) on #5172AE
Contrast ratio 4.81:1
AA
Dark ink (#0F172A) on #5172AE
Contrast ratio 3.71:1
AA Large

Recommended accessible ink on #5172AE: #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 #5172AE