Color Reference · Midnight Slate

#231E2B

oklch(24.7% 0.025 302)

HEX
#231E2B
OKLCH
oklch(24.7% 0.025 302)
RGB
rgb(35, 30, 43)
HSL
hsl(263deg 18% 14%)
Relative Luminance
Y = 0.0146

Using #231E2B as Text Foreground

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

Using #231E2B as Button / Surface Fill

White ink (#FFFFFF) on #231E2B
Contrast ratio 16.25:1
AAA
Dark ink (#0F172A) on #231E2B
Contrast ratio 1.1:1
Fail

Recommended accessible ink on #231E2B: #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 #231E2B