Color Reference · Midnight Slate

#27263B

oklch(28% 0.038 286)

HEX
#27263B
OKLCH
oklch(28% 0.038 286)
RGB
rgb(39, 38, 59)
HSL
hsl(243deg 22% 19%)
Relative Luminance
Y = 0.0213

Using #27263B as Text Foreground

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

Using #27263B as Button / Surface Fill

White ink (#FFFFFF) on #27263B
Contrast ratio 14.72:1
AAA
Dark ink (#0F172A) on #27263B
Contrast ratio 1.21:1
Fail

Recommended accessible ink on #27263B: #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 #27263B