Color Reference · Midnight Slate

#08131E

oklch(18.2% 0.028 249)

HEX
#08131E
OKLCH
oklch(18.2% 0.028 249)
RGB
rgb(8, 19, 30)
HSL
hsl(210deg 58% 7%)
Relative Luminance
Y = 0.0061

Using #08131E as Text Foreground

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

Using #08131E as Button / Surface Fill

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

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