Color Reference · Cosmic Dusk

#252F75

oklch(34.1% 0.12 272)

HEX
#252F75
OKLCH
oklch(34.1% 0.12 272)
RGB
rgb(37, 47, 117)
HSL
hsl(233deg 52% 30%)
Relative Luminance
Y = 0.0371

Using #252F75 as Text Foreground

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

Using #252F75 as Button / Surface Fill

White ink (#FFFFFF) on #252F75
Contrast ratio 12.05:1
AAA
Dark ink (#0F172A) on #252F75
Contrast ratio 1.48:1
Fail

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