Color Reference · Royal Ultramarine

#315EA8

oklch(48.9% 0.129 260)

HEX
#315EA8
OKLCH
oklch(48.9% 0.129 260)
RGB
rgb(49, 94, 168)
HSL
hsl(217deg 55% 43%)
Relative Luminance
Y = 0.1149

Using #315EA8 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 6.37:1
AA
Sample text on Slate (#0F172A)
Contrast ratio 2.8:1
Fail

Using #315EA8 as Button / Surface Fill

White ink (#FFFFFF) on #315EA8
Contrast ratio 6.37:1
AA
Dark ink (#0F172A) on #315EA8
Contrast ratio 2.8:1
Fail

Recommended accessible ink on #315EA8: #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 #315EA8