Color Reference · Cosmic Dusk

#00187D

oklch(29.2% 0.168 264)

HEX
#00187D
OKLCH
oklch(29.2% 0.168 264)
RGB
rgb(0, 24, 125)
HSL
hsl(228deg 100% 25%)
Relative Luminance
Y = 0.0213

Using #00187D as Text Foreground

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

Using #00187D as Button / Surface Fill

White ink (#FFFFFF) on #00187D
Contrast ratio 14.72:1
AAA
Dark ink (#0F172A) on #00187D
Contrast ratio 1.21:1
Fail

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