Color Reference · Midnight Slate

#08131F

oklch(18.3% 0.03 251)

HEX
#08131F
OKLCH
oklch(18.3% 0.03 251)
RGB
rgb(8, 19, 31)
HSL
hsl(211deg 59% 8%)
Relative Luminance
Y = 0.0062

Using #08131F as Text Foreground

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

Using #08131F as Button / Surface Fill

White ink (#FFFFFF) on #08131F
Contrast ratio 18.7:1
AAA
Dark ink (#0F172A) on #08131F
Contrast ratio 1.05:1
Fail

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