Tailwind gray-400: questions & answers
What is the HEX code of Tailwind gray-400?
Tailwind gray-400 is #9CA3AF, which is rgb(156, 163, 175) or hsl(218, 11%, 65%).
How do I use gray-400 as a background in Tailwind?
Add the class bg-gray-400 to the element. Use text-gray-400 for text and border-gray-400 for borders.
What text color works on bg-gray-400?
gray-800 (#1F2937) is the closest shade of the same color with readable contrast (5.78:1). Plain black text gives 8.27:1.