A vivid light indigo, black text passes AA
Tailwind indigo-300
The hex code of Tailwind indigo-300 is #a3b3ff (rgb(163 179 255)), from its Tailwind CSS 4.3.3 value oklch(78.5% 0.115 274.713). Black text on it reaches 10.45:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-indigo-300), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(78.5% 0.115 274.713) |
| Hex | #a3b3ff, the nearest color in sRGB |
| RGB | rgb(163 179 255) |
| HSL | hsl(230 100% 82%) |
| OKLCH of the hex | oklch(78.3% 0.110 274.5) |
| CSS variable | var(--color-indigo-300) |
| Nearest CSS name | lightsteelblue #b0c4de, 0.077 away in OKLab |
| White text | 2.01:1: AA fails, AAA fails, large text fails |
| Black text | 10.45:1: AA passes, AAA passes, large text passes |
About indigo-300
Read as numbers, indigo-300 is lightness 78.5%, chroma 0.115 and hue 274.7 degrees; read by eye, it is a vivid light indigo. Its neighbors on the indigo scale are indigo-200, 8.5 points lighter, and indigo-400, 11.2 points darker.
HSL and OKLCH agree on how light it is, 82% and 78.5%. A hex code cannot hold indigo-300 exactly: the value is outside sRGB, and #a3b3ff is the CSS Color 4 gamut mapping of it, chroma lowered by 0.005, 0.2 points of lightness and 0.2 degrees of hue away from the value.
Black on indigo-300 reads at 10.45:1, enough for AAA body text; white reaches 2.01:1 and should stay off it. Black text passes on every indigo shade from indigo-50 to indigo-500, 2 shades darker than indigo-300.
The nearest CSS named color, lightsteelblue (#b0c4de), is 0.077 away in OKLab: related, but plainly a different color.
Tints and shades
- #eff2ff
- #dfe6ff
- #d0d9ff
- #c1cdff
- #b2c0ff
- #a3b3ff
- #7f8cc8
- #5d6694
- #3c4363
- #1f2336
- #06070f
From light to dark: 5 toward white and 5 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.
A palette around it
- #a3b3ff
- #401d11
- #728cc4
- #cef4ef
- #595c29
Around indigo-300 as swatch 1, Recolor's generator made a free palette, hues spread around the wheel: #401d11, #728cc4, #cef4ef, #595c29, drawn from a seed fixed by its hex. Open it in Recolor.
Using indigo-300
Pair it with text-black, 10.45:1; indigo-300 as text on a black page measures the same ratio. In CSS it is var(--color-indigo-300).
<a class="bg-indigo-300 text-black" href="/start">Get started</a>
<p class="text-indigo-300">Text in indigo-300</p>Common questions
Does white text pass WCAG AA on Tailwind indigo-300?
No. White text measures 2.01:1 on indigo-300, under AA's 4.5:1; black text measures 10.45:1 and passes. The lightest indigo shade for white text is indigo-500.
Is Tailwind indigo-300 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-indigo-300: oklch(78.5% 0.115 274.713); #a3b3ff is its nearest sRGB color, since the value lies outside sRGB.
Is there a CSS named color for Tailwind indigo-300?
No. The nearest CSS named color is lightsteelblue (#b0c4de), 0.077 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org
- CSS Color Module Level 4: gamut mapping w3.org