Color Reference · Midnight Slate

#121C4E

oklch(25.3% 0.093 270)

HEX
#121C4E
OKLCH
oklch(25.3% 0.093 270)
RGB
rgb(18, 28, 78)
HSL
hsl(230deg 63% 19%)
Relative Luminance
Y = 0.0151

Using #121C4E as Text Foreground

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

Using #121C4E as Button / Surface Fill

White ink (#FFFFFF) on #121C4E
Contrast ratio 16.13:1
AAA
Dark ink (#0F172A) on #121C4E
Contrast ratio 1.11:1
Fail

Recommended accessible ink on #121C4E: #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 #121C4E