Color Reference · Midnight Slate
#120E40
oklch(21% 0.091 279)
HEX
#120E40
OKLCH
oklch(21% 0.091 279)
RGB
rgb(18, 14, 64)
HSL
hsl(245deg 64% 15%)
Relative Luminance
Y = 0.0081
Using #120E40 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.06:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #120E40 as Button / Surface Fill
White ink (#FFFFFF) on #120E40
Contrast ratio 18.06:1
Dark ink (#0F172A) on #120E40
Contrast ratio 1.01:1
Recommended accessible ink on #120E40: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.