Color Reference · Midnight Slate
#281B34
oklch(25.1% 0.049 307)
HEX
#281B34
OKLCH
oklch(25.1% 0.049 307)
RGB
rgb(40, 27, 52)
HSL
hsl(271deg 32% 15%)
Relative Luminance
Y = 0.0148
Using #281B34 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.2:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #281B34 as Button / Surface Fill
White ink (#FFFFFF) on #281B34
Contrast ratio 16.2:1
Dark ink (#0F172A) on #281B34
Contrast ratio 1.1:1
Recommended accessible ink on #281B34: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.