Color Reference · Cosmic Dusk

#00167E

oklch(29% 0.171 264)

HEX
#00167E
OKLCH
oklch(29% 0.171 264)
RGB
rgb(0, 22, 126)
HSL
hsl(230deg 100% 25%)
Relative Luminance
Y = 0.0208

Using #00167E as Text Foreground

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

Using #00167E as Button / Surface Fill

White ink (#FFFFFF) on #00167E
Contrast ratio 14.83:1
AAA
Dark ink (#0F172A) on #00167E
Contrast ratio 1.2:1
Fail

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