Color Reference · Midnight Slate
#281B2F
oklch(24.8% 0.041 313)
HEX
#281B2F
OKLCH
oklch(24.8% 0.041 313)
RGB
rgb(40, 27, 47)
HSL
hsl(279deg 27% 15%)
Relative Luminance
Y = 0.0144
Using #281B2F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.3:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #281B2F as Button / Surface Fill
White ink (#FFFFFF) on #281B2F
Contrast ratio 16.3:1
Dark ink (#0F172A) on #281B2F
Contrast ratio 1.1:1
Recommended accessible ink on #281B2F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.