Tailwind Indigo 300

indigo-300 · #A5B4FC · rgb(165, 180, 252)

indigo-300 is a very light vivid blue from the Tailwind CSS default palette, hex code #A5B4FC.

HEX#A5B4FC
RGBrgb(165, 180, 252)
HSLhsl(230, 94%, 82%)
CMYKcmyk(35%, 29%, 0%, 1%)
CSS variable (v4)var(--color-indigo-300)
Color namePastel Blue (closest)

Classes

bg-indigo-300
text-indigo-300
border-indigo-300
ring-indigo-300
from-indigo-300 via-indigo-300 to-indigo-300
bg-indigo-300/50   /* 50% opacity */
White text · 1.99:1 · fails
Black text · 10.53:1 · AAA
text-indigo-800 · 4.98:1 · AA

Check contrast with any color →

Tailwind indigo-300: questions & answers

What is the HEX code of Tailwind indigo-300?

Tailwind indigo-300 is #A5B4FC, which is rgb(165, 180, 252) or hsl(230, 94%, 82%).

How do I use indigo-300 as a background in Tailwind?

Add the class bg-indigo-300 to the element. Use text-indigo-300 for text and border-indigo-300 for borders.

What text color works on bg-indigo-300?

indigo-800 (#3730A3) is the closest shade of the same color with readable contrast (4.98:1). Plain black text gives 10.53:1.