Color Reference · Midnight Slate
#262140
oklch(27% 0.057 289)
HEX
#262140
OKLCH
oklch(27% 0.057 289)
RGB
rgb(38, 33, 64)
HSL
hsl(250deg 32% 19%)
Relative Luminance
Y = 0.0187
Using #262140 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.28:1
Sample text on Slate (#0F172A)
Contrast ratio 1.17:1
Using #262140 as Button / Surface Fill
White ink (#FFFFFF) on #262140
Contrast ratio 15.28:1
Dark ink (#0F172A) on #262140
Contrast ratio 1.17:1
Recommended accessible ink on #262140: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.