Color Reference · Royal Ultramarine

#315FA8

oklch(49.1% 0.128 259)

HEX
#315FA8
OKLCH
oklch(49.1% 0.128 259)
RGB
rgb(49, 95, 168)
HSL
hsl(217deg 55% 43%)
Relative Luminance
Y = 0.1166

Using #315FA8 as Text Foreground

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

Using #315FA8 as Button / Surface Fill

White ink (#FFFFFF) on #315FA8
Contrast ratio 6.3:1
AA
Dark ink (#0F172A) on #315FA8
Contrast ratio 2.83:1
Fail

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