Color Reference · Midnight Slate

#280E26

oklch(21.6% 0.058 330)

HEX
#280E26
OKLCH
oklch(21.6% 0.058 330)
RGB
rgb(40, 14, 38)
HSL
hsl(305deg 48% 11%)
Relative Luminance
Y = 0.0091

Using #280E26 as Text Foreground

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

Using #280E26 as Button / Surface Fill

White ink (#FFFFFF) on #280E26
Contrast ratio 17.78:1
AAA
Dark ink (#0F172A) on #280E26
Contrast ratio 1:1
Fail

Recommended accessible ink on #280E26: #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 #280E26