Color Reference · Midnight Slate
#281A28
oklch(24.2% 0.033 327)
HEX
#281A28
OKLCH
oklch(24.2% 0.033 327)
RGB
rgb(40, 26, 40)
HSL
hsl(300deg 21% 13%)
Relative Luminance
Y = 0.0134
Using #281A28 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.55:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #281A28 as Button / Surface Fill
White ink (#FFFFFF) on #281A28
Contrast ratio 16.55:1
Dark ink (#0F172A) on #281A28
Contrast ratio 1.08:1
Recommended accessible ink on #281A28: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.