Color Reference · Midnight Slate

#0F172A

oklch(20.8% 0.04 266)

HEX
#0F172A
OKLCH
oklch(20.8% 0.04 266)
RGB
rgb(15, 23, 42)
HSL
hsl(222deg 47% 11%)
Relative Luminance
Y = 0.0088

Using #0F172A as Text Foreground

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

Using #0F172A as Button / Surface Fill

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

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

Curated Palettes Featuring #0F172A

Nordic Fjord SaaS

Crisp arctic blues paired with deep slate and a warm amber call-to-action.

Midnight Terminal Cyan

Developer dark workspace with crisp cyan cursor glow and cool slate text.

Nordic Mint Healthcare

Calming clinical teal and soft mint badges backed by readable deep slate.