Color Reference · Midnight Slate

#130E40

oklch(21% 0.091 280)

HEX
#130E40
OKLCH
oklch(21% 0.091 280)
RGB
rgb(19, 14, 64)
HSL
hsl(246deg 64% 15%)
Relative Luminance
Y = 0.0082

Using #130E40 as Text Foreground

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

Using #130E40 as Button / Surface Fill

White ink (#FFFFFF) on #130E40
Contrast ratio 18.03:1
AAA
Dark ink (#0F172A) on #130E40
Contrast ratio 1.01:1
Fail

Recommended accessible ink on #130E40: #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 #130E40