Color Reference · Midnight Slate

#27243E

oklch(27.7% 0.047 288)

HEX
#27243E
OKLCH
oklch(27.7% 0.047 288)
RGB
rgb(39, 36, 62)
HSL
hsl(247deg 27% 19%)
Relative Luminance
Y = 0.0204

Using #27243E as Text Foreground

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

Using #27243E as Button / Surface Fill

White ink (#FFFFFF) on #27243E
Contrast ratio 14.91:1
AAA
Dark ink (#0F172A) on #27243E
Contrast ratio 1.2:1
Fail

Recommended accessible ink on #27243E: #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 #27243E