Color Reference · Midnight Slate
#281B3F
oklch(25.8% 0.067 298)
HEX
#281B3F
OKLCH
oklch(25.8% 0.067 298)
RGB
rgb(40, 27, 63)
HSL
hsl(262deg 40% 18%)
Relative Luminance
Y = 0.0159
Using #281B3F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #281B3F as Button / Surface Fill
White ink (#FFFFFF) on #281B3F
Contrast ratio 15.92:1
Dark ink (#0F172A) on #281B3F
Contrast ratio 1.12:1
Recommended accessible ink on #281B3F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.