Color Reference · Midnight Slate
#281E39
oklch(26.1% 0.051 300)
HEX
#281E39
OKLCH
oklch(26.1% 0.051 300)
RGB
rgb(40, 30, 57)
HSL
hsl(262deg 31% 17%)
Relative Luminance
Y = 0.0168
Using #281E39 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.73:1
Sample text on Slate (#0F172A)
Contrast ratio 1.13:1
Using #281E39 as Button / Surface Fill
White ink (#FFFFFF) on #281E39
Contrast ratio 15.73:1
Dark ink (#0F172A) on #281E39
Contrast ratio 1.13:1
Recommended accessible ink on #281E39: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.