Color Reference · Midnight Slate

#121C2D

oklch(22.6% 0.036 261)

HEX
#121C2D
OKLCH
oklch(22.6% 0.036 261)
RGB
rgb(18, 28, 45)
HSL
hsl(218deg 43% 12%)
Relative Luminance
Y = 0.0115

Using #121C2D as Text Foreground

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

Using #121C2D as Button / Surface Fill

White ink (#FFFFFF) on #121C2D
Contrast ratio 17.08:1
AAA
Dark ink (#0F172A) on #121C2D
Contrast ratio 1.05:1
Fail

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