Tailwind Slate 800

slate-800 · #1E293B · rgb(30, 41, 59)

slate-800 is a very dark muted azure from the Tailwind CSS default palette, hex code #1E293B.

HEX#1E293B
RGBrgb(30, 41, 59)
HSLhsl(217, 33%, 17%)
CMYKcmyk(49%, 31%, 0%, 77%)
CSS variable (v4)var(--color-slate-800)
Color nameEbony (closest)

Classes

bg-slate-800
text-slate-800
border-slate-800
ring-slate-800
from-slate-800 via-slate-800 to-slate-800
bg-slate-800/50   /* 50% opacity */
White text · 14.63:1 · AAA
Black text · 1.44:1 · fails
text-slate-400 · 5.71:1 · AA

Check contrast with any color →

Tailwind slate-800: questions & answers

What is the HEX code of Tailwind slate-800?

Tailwind slate-800 is #1E293B, which is rgb(30, 41, 59) or hsl(217, 33%, 17%).

How do I use slate-800 as a background in Tailwind?

Add the class bg-slate-800 to the element. Use text-slate-800 for text and border-slate-800 for borders.

What text color works on bg-slate-800?

slate-400 (#94A3B8) is the closest shade of the same color with readable contrast (5.71:1). Plain white text gives 14.63:1.