Color Reference · Midnight Slate
#281A30
oklch(24.6% 0.045 313)
HEX
#281A30
OKLCH
oklch(24.6% 0.045 313)
RGB
rgb(40, 26, 48)
HSL
hsl(278deg 30% 15%)
Relative Luminance
Y = 0.014
Using #281A30 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.4:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #281A30 as Button / Surface Fill
White ink (#FFFFFF) on #281A30
Contrast ratio 16.4:1
Dark ink (#0F172A) on #281A30
Contrast ratio 1.09:1
Recommended accessible ink on #281A30: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.