Color Reference · Midnight Slate
#201A40
oklch(24.8% 0.07 287)
HEX
#201A40
OKLCH
oklch(24.8% 0.07 287)
RGB
rgb(32, 26, 64)
HSL
hsl(249deg 42% 18%)
Relative Luminance
Y = 0.0142
Using #201A40 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.37:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #201A40 as Button / Surface Fill
White ink (#FFFFFF) on #201A40
Contrast ratio 16.37:1
Dark ink (#0F172A) on #201A40
Contrast ratio 1.09:1
Recommended accessible ink on #201A40: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.