Color Reference · Midnight Slate
#281C30
oklch(25.1% 0.04 311)
HEX
#281C30
OKLCH
oklch(25.1% 0.04 311)
RGB
rgb(40, 28, 48)
HSL
hsl(276deg 26% 15%)
Relative Luminance
Y = 0.015
Using #281C30 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.17:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #281C30 as Button / Surface Fill
White ink (#FFFFFF) on #281C30
Contrast ratio 16.17:1
Dark ink (#0F172A) on #281C30
Contrast ratio 1.1:1
Recommended accessible ink on #281C30: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.