indigo-950
#1e1a4dTailwind CSS v4.3.3 indigo-950 is oklch(25.7% 0.09 281.288) in OKLCH, the format Tailwind uses, and #1e1a4d in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-indigo-950/50.
Text on indigo-950
- Aawhite16.03:1Readable · AA
- Aablack1.31:1Hard to read
- Aaindigo-5014.34:1Readable · AA
Most readable text from the indigo scale: indigo-50
Tailwind indigo scale
Step 950 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind indigo-950?
indigo-950 is #1e1a4d in HEX, rgb(30 26 77) in RGB and oklch(25.7% 0.09 281.288) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind indigo-950 accessible for text?
White text on indigo-950 has a contrast ratio of 16.03:1 and black text 1.31:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use indigo-950 in Tailwind CSS?
Add bg-indigo-950, text-indigo-950 or border-indigo-950 to an element. In your own CSS use var(--color-indigo-950), the CSS variable Tailwind v4 creates for every color.