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.