Tailwind slate-400: questions & answers
What is the HEX code of Tailwind slate-400?
Tailwind slate-400 is #94A3B8, which is rgb(148, 163, 184) or hsl(215, 20%, 65%).
How do I use slate-400 as a background in Tailwind?
Add the class bg-slate-400 to the element. Use text-slate-400 for text and border-slate-400 for borders.
What text color works on bg-slate-400?
slate-800 (#1E293B) is the closest shade of the same color with readable contrast (5.71:1). Plain black text gives 8.19:1.