Color Reference · Midnight Slate

#140F36

oklch(20.3% 0.073 284)

HEX
#140F36
OKLCH
oklch(20.3% 0.073 284)
RGB
rgb(20, 15, 54)
HSL
hsl(248deg 57% 14%)
Relative Luminance
Y = 0.0076

Using #140F36 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 18.24:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Fail

Using #140F36 as Button / Surface Fill

White ink (#FFFFFF) on #140F36
Contrast ratio 18.24:1
AAA
Dark ink (#0F172A) on #140F36
Contrast ratio 1.02:1
Fail

Recommended accessible ink on #140F36: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #140F36