A vivid dark indigo, white text passes AA

Tailwind indigo-800

In Tailwind CSS 4.3.3, indigo-800 is defined as oklch(39.8% 0.195 277.366); in hex that is #372aac, or rgb(55 42 172). White text on it reaches 10.05:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.

Last updated

#372aacindigo-800
From the theme file of Tailwind CSS 4.3.3 (--color-indigo-800), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(39.8% 0.195 277.366)
Hex#372aac
RGBrgb(55 42 172)
HSLhsl(246 61% 42%)
CSS variablevar(--color-indigo-800)
Nearest CSS namedarkslateblue #483d8b, 0.076 away in OKLab
White text10.05:1: AA passes, AAA passes, large text passes
Black text2.09:1: AA fails, AAA fails, large text fails

About indigo-800

In OKLCH, indigo-800 has a lightness of 39.8%, a chroma of 0.195 and a hue of 277.4 degrees, which makes it a vivid dark indigo. The step up to indigo-700 is 5.9 points of lightness, and the step down to indigo-900 3.9 points.

Here HSL's lightness, 42%, lands near OKLCH's 39.8%, which is not true of every color. The value lies inside sRGB, the gamut of a hex code, so indigo-800 converts to #372aac without losing chroma.

For text, indigo-800 wants white: 10.05:1 clears even AAA's 7:1, and black at 2.09:1 fails AA. On the indigo scale white text works from indigo-500 to indigo-950; indigo-800 has 3 shades of margin.

No CSS keyword matches it; darkslateblue (#483d8b) is the nearest, 0.076 away in OKLab, a clear step off.

Tints and shades

  1. #d8dcf4
  2. #b3bae8
  3. #8f99db
  4. #6e76cc
  5. #5053bd
  6. #372aac
  7. #291f86
  8. #1c1462
  9. #0f0a40
  10. #050321
  11. #010006

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

  1. #372aac
  2. #afb3ff
  3. #1f2349
  4. #ecf0ff
  5. #6573d2

Locked as the first of five swatches, indigo-800 gets #afb3ff, #1f2349, #ecf0ff, #6573d2 from Recolor's generator, a monochromatic palette, one hue in five lightnesses. The seed is its hex, so the palette stays the same. Open it in Recolor.

Using indigo-800

Pair it with text-white, 10.05:1; indigo-800 as text on a white page measures the same ratio. In CSS it is var(--color-indigo-800).

HTML
<a class="bg-indigo-800 text-white" href="/start">Get started</a>
<p class="text-indigo-800">Text in indigo-800</p>

Common questions

Does white text pass WCAG AA on Tailwind indigo-800?

Yes. White text measures 10.05:1 on indigo-800, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.

Is Tailwind indigo-800 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-indigo-800: oklch(39.8% 0.195 277.366); #372aac is its conversion to sRGB.

Is there a CSS named color for Tailwind indigo-800?

No. The nearest CSS named color is darkslateblue (#483d8b), 0.076 away in OKLab.

Sources