Color Reference · Midnight Slate

#381D40

oklch(28.4% 0.07 318)

HEX
#381D40
OKLCH
oklch(28.4% 0.07 318)
RGB
rgb(56, 29, 64)
HSL
hsl(286deg 38% 18%)
Relative Luminance
Y = 0.0209

Using #381D40 as Text Foreground

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

Using #381D40 as Button / Surface Fill

White ink (#FFFFFF) on #381D40
Contrast ratio 14.81:1
AAA
Dark ink (#0F172A) on #381D40
Contrast ratio 1.21:1
Fail

Recommended accessible ink on #381D40: #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 #381D40