Color Reference · Midnight Slate
#140E1F
oklch(18.1% 0.035 299)
HEX
#140E1F
OKLCH
oklch(18.1% 0.035 299)
RGB
rgb(20, 14, 31)
HSL
hsl(261deg 38% 9%)
Relative Luminance
Y = 0.0056
Using #140E1F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.88:1
Sample text on Slate (#0F172A)
Contrast ratio 1.06:1
Using #140E1F as Button / Surface Fill
White ink (#FFFFFF) on #140E1F
Contrast ratio 18.88:1
Dark ink (#0F172A) on #140E1F
Contrast ratio 1.06:1
Recommended accessible ink on #140E1F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.