Color Reference · Cosmic Dusk

#002872

oklch(30.8% 0.134 261)

HEX
#002872
OKLCH
oklch(30.8% 0.134 261)
RGB
rgb(0, 40, 114)
HSL
hsl(219deg 100% 22%)
Relative Luminance
Y = 0.0273

Using #002872 as Text Foreground

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

Using #002872 as Button / Surface Fill

White ink (#FFFFFF) on #002872
Contrast ratio 13.58:1
AAA
Dark ink (#0F172A) on #002872
Contrast ratio 1.31:1
Fail

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