Color Reference · Midnight Slate
#281C2A
oklch(24.7% 0.031 322)
HEX
#281C2A
OKLCH
oklch(24.7% 0.031 322)
RGB
rgb(40, 28, 42)
HSL
hsl(291deg 20% 14%)
Relative Luminance
Y = 0.0145
Using #281C2A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.28:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #281C2A as Button / Surface Fill
White ink (#FFFFFF) on #281C2A
Contrast ratio 16.28:1
Dark ink (#0F172A) on #281C2A
Contrast ratio 1.1:1
Recommended accessible ink on #281C2A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.