Tailwind gray-800: questions & answers
What is the HEX code of Tailwind gray-800?
Tailwind gray-800 is #1F2937, which is rgb(31, 41, 55) or hsl(215, 28%, 17%).
How do I use gray-800 as a background in Tailwind?
Add the class bg-gray-800 to the element. Use text-gray-800 for text and border-gray-800 for borders.
What text color works on bg-gray-800?
gray-400 (#9CA3AF) is the closest shade of the same color with readable contrast (5.78:1). Plain white text gives 14.68:1.