Color Reference · Midnight Slate
#140E2B
oklch(19% 0.056 289)
HEX
#140E2B
OKLCH
oklch(19% 0.056 289)
RGB
rgb(20, 14, 43)
HSL
hsl(252deg 51% 11%)
Relative Luminance
Y = 0.0064
Using #140E2B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.63:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #140E2B as Button / Surface Fill
White ink (#FFFFFF) on #140E2B
Contrast ratio 18.63:1
Dark ink (#0F172A) on #140E2B
Contrast ratio 1.04:1
Recommended accessible ink on #140E2B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.