Tailwind indigo-900: questions & answers
What is the HEX code of Tailwind indigo-900?
Tailwind indigo-900 is #312E81, which is rgb(49, 46, 129) or hsl(242, 47%, 34%).
How do I use indigo-900 as a background in Tailwind?
Add the class bg-indigo-900 to the element. Use text-indigo-900 for text and border-indigo-900 for borders.
What text color works on bg-indigo-900?
indigo-300 (#A5B4FC) is the closest shade of the same color with readable contrast (5.73:1). Plain white text gives 11.42:1.