Color Reference · Royal Ultramarine

#2F5CC7

oklch(50.6% 0.174 264)

HEX
#2F5CC7
OKLCH
oklch(50.6% 0.174 264)
RGB
rgb(47, 92, 199)
HSL
hsl(222deg 62% 48%)
Relative Luminance
Y = 0.1238

Using #2F5CC7 as Text Foreground

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

Using #2F5CC7 as Button / Surface Fill

White ink (#FFFFFF) on #2F5CC7
Contrast ratio 6.04:1
AA
Dark ink (#0F172A) on #2F5CC7
Contrast ratio 2.96:1
Fail

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