Color Reference · Midnight Slate
#281E48
oklch(27.1% 0.075 292)
HEX
#281E48
OKLCH
oklch(27.1% 0.075 292)
RGB
rgb(40, 30, 72)
HSL
hsl(254deg 41% 20%)
Relative Luminance
Y = 0.0185
Using #281E48 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.33:1
Sample text on Slate (#0F172A)
Contrast ratio 1.16:1
Using #281E48 as Button / Surface Fill
White ink (#FFFFFF) on #281E48
Contrast ratio 15.33:1
Dark ink (#0F172A) on #281E48
Contrast ratio 1.16:1
Recommended accessible ink on #281E48: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.