Color Reference · Midnight Slate
#281D2E
oklch(25.2% 0.035 313)
HEX
#281D2E
OKLCH
oklch(25.2% 0.035 313)
RGB
rgb(40, 29, 46)
HSL
hsl(279deg 23% 15%)
Relative Luminance
Y = 0.0153
Using #281D2E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.09:1
Sample text on Slate (#0F172A)
Contrast ratio 1.11:1
Using #281D2E as Button / Surface Fill
White ink (#FFFFFF) on #281D2E
Contrast ratio 16.09:1
Dark ink (#0F172A) on #281D2E
Contrast ratio 1.11:1
Recommended accessible ink on #281D2E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.