Color Reference · Royal Ultramarine

#2F6FF4

oklch(57.9% 0.21 263)

HEX
#2F6FF4
OKLCH
oklch(57.9% 0.21 263)
RGB
rgb(47, 111, 244)
HSL
hsl(221deg 90% 57%)
Relative Luminance
Y = 0.185

Using #2F6FF4 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.47:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4:1
AA Large
OKLCH AA text-on-white fix: #2B6AEF (4.76:1)Open Checker →

Using #2F6FF4 as Button / Surface Fill

White ink (#FFFFFF) on #2F6FF4
Contrast ratio 4.47:1
AA Large
Dark ink (#0F172A) on #2F6FF4
Contrast ratio 4:1
AA Large

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