Tailwind slate-700: questions & answers
What is the HEX code of Tailwind slate-700?
Tailwind slate-700 is #334155, which is rgb(51, 65, 85) or hsl(215, 25%, 27%).
How do I use slate-700 as a background in Tailwind?
Add the class bg-slate-700 to the element. Use text-slate-700 for text and border-slate-700 for borders.
What text color works on bg-slate-700?
slate-300 (#CBD5E1) is the closest shade of the same color with readable contrast (6.97:1). Plain white text gives 10.35:1.