Color Reference · Royal Ultramarine

#2A70F4

oklch(58% 0.21 262)

HEX
#2A70F4
OKLCH
oklch(58% 0.21 262)
RGB
rgb(42, 112, 244)
HSL
hsl(219deg 90% 56%)
Relative Luminance
Y = 0.1861

Using #2A70F4 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.45:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.01:1
AA Large
OKLCH AA text-on-white fix: #256BEF (4.74:1)Open Checker →

Using #2A70F4 as Button / Surface Fill

White ink (#FFFFFF) on #2A70F4
Contrast ratio 4.45:1
AA Large
Dark ink (#0F172A) on #2A70F4
Contrast ratio 4.01:1
AA Large

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