Color Reference · Midnight Slate
#381C40
oklch(28.2% 0.073 318)
HEX
#381C40
OKLCH
oklch(28.2% 0.073 318)
RGB
rgb(56, 28, 64)
HSL
hsl(287deg 39% 18%)
Relative Luminance
Y = 0.0204
Using #381C40 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.91:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #381C40 as Button / Surface Fill
White ink (#FFFFFF) on #381C40
Contrast ratio 14.91:1
Dark ink (#0F172A) on #381C40
Contrast ratio 1.2:1
Recommended accessible ink on #381C40: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.