Color Reference · Midnight Slate
#140E46
oklch(21.8% 0.099 279)
HEX
#140E46
OKLCH
oklch(21.8% 0.099 279)
RGB
rgb(20, 14, 70)
HSL
hsl(246deg 67% 16%)
Relative Luminance
Y = 0.009
Using #140E46 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.78:1
Sample text on Slate (#0F172A)
Contrast ratio 1:1
Using #140E46 as Button / Surface Fill
White ink (#FFFFFF) on #140E46
Contrast ratio 17.78:1
Dark ink (#0F172A) on #140E46
Contrast ratio 1:1
Recommended accessible ink on #140E46: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.