Tailwind Indigo 950

indigo-950 · #1E1B4B · rgb(30, 27, 75)

indigo-950 is a dark blue from the Tailwind CSS default palette, hex code #1E1B4B.

HEX#1E1B4B
RGBrgb(30, 27, 75)
HSLhsl(244, 47%, 20%)
CMYKcmyk(60%, 64%, 0%, 71%)
CSS variable (v4)var(--color-indigo-950)
Color nameOxford Blue (closest)

Classes

bg-indigo-950
text-indigo-950
border-indigo-950
ring-indigo-950
from-indigo-950 via-indigo-950 to-indigo-950
bg-indigo-950/50   /* 50% opacity */
White text · 15.99:1 · AAA
Black text · 1.31:1 · fails
text-indigo-400 · 5.36:1 · AA

Check contrast with any color →

Tailwind indigo-950: questions & answers

What is the HEX code of Tailwind indigo-950?

Tailwind indigo-950 is #1E1B4B, which is rgb(30, 27, 75) or hsl(244, 47%, 20%).

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

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

What text color works on bg-indigo-950?

indigo-400 (#818CF8) is the closest shade of the same color with readable contrast (5.36:1). Plain white text gives 15.99:1.