Color Reference · Midnight Slate
#281A2F
oklch(24.5% 0.043 314)
HEX
#281A2F
OKLCH
oklch(24.5% 0.043 314)
RGB
rgb(40, 26, 47)
HSL
hsl(280deg 29% 14%)
Relative Luminance
Y = 0.014
Using #281A2F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.42:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #281A2F as Button / Surface Fill
White ink (#FFFFFF) on #281A2F
Contrast ratio 16.42:1
Dark ink (#0F172A) on #281A2F
Contrast ratio 1.09:1
Recommended accessible ink on #281A2F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.