Color Reference · Cosmic Dusk

#222F75

oklch(34% 0.121 271)

HEX
#222F75
OKLCH
oklch(34% 0.121 271)
RGB
rgb(34, 47, 117)
HSL
hsl(231deg 55% 30%)
Relative Luminance
Y = 0.0366

Using #222F75 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 12.13:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.47:1
Fail

Using #222F75 as Button / Surface Fill

White ink (#FFFFFF) on #222F75
Contrast ratio 12.13:1
AAA
Dark ink (#0F172A) on #222F75
Contrast ratio 1.47:1
Fail

Recommended accessible ink on #222F75: #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 #222F75