Skip to content

Tailwind CSS v4 default palette

Tailwind indigo-100: #E0E7FF

In Tailwind CSS v4, indigo-100 is defined as --color-indigo-100: oklch(93% 0.034 272.788), which is #E0E7FF in hex and rgb(224, 231, 255): a pale, grayish blue. In Tailwind v3, indigo-100 was #E0E7FF.

indigo-100#E0E7FF

In OKLCH, indigo-100 has a lightness of 93.0%, chroma 0.034 and hue 272.8°.

This OKLCH value lies outside sRGB. The hex #E0E7FF is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.883 0.905 0.9931).

In v3, indigo-100 was #E0E7FF. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.

Tailwind indigo is a blue-violet and the accent color in many Tailwind UI examples and early Tailwind templates.

Color codes for indigo-100

Color codes for indigo-100
Tailwind v4 token--color-indigo-100
OKLCH (source value)oklch(93% 0.034 272.788)
HEX#E0E7FF
RGBrgb(224, 231, 255)
HSLhsl(226, 100%, 94%)
HWBhwb(226 88% 0%)
CMYK (naive, no ICC profile)cmyk(12%, 9%, 0%, 0%)
Decimal14,739,455
Display P3color(display-p3 0.883 0.905 0.9931)
Tailwind v3 hex#E0E7FF
Utility classesbg-indigo-100, text-indigo-100, border-indigo-100

Tailwind indigo scale

Contrast and accessibility

On indigo-100, black text has a contrast ratio of 17.04:1 and passes AAA at any text size; white text reaches 1.23:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on indigo-10017.04:1PassPassPassPass92.1
White text on indigo-1001.23:1FailFailFailFail−13.3
Indigo-100 text on white1.23:1FailFailFailFail11.5
Indigo-100 text on black17.04:1PassPassPassPass−92.5

Tints and shades

Each step mixes var(--color-indigo-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-indigo-100), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #e2e8ff
  2. 15%
    #e5ebff
  3. 25%
    #e8edff
  4. 35%
    #ebefff
  5. 45%
    #eef2ff
  6. 55%
    #f1f4ff
  7. 65%
    #f4f7ff
  8. 75%
    #f7f9ff
  9. 85%
    #fafbff
  10. 95%
    #fdfeff

Shades (mixed with black)

  1. 5%
    #d5dbf2
  2. 15%
    #bec4d9
  3. 25%
    #a8adbf
  4. 35%
    #9296a6
  5. 45%
    #7b7f8c
  6. 55%
    #656873
  7. 65%
    #4e5159
  8. 75%
    #383a40
  9. 85%
    #222326
  10. 95%
    #0b0c0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, indigo-100's complementary color is #F0E8CF (close to antiquewhite), its analogous colors are #D5EBFD and #ECE3FB, and its triadic partners are #FEE0DA and #D8EFDD. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f0e8cf
Analogous−30°, +30°#d5ebfd#ece3fb
Triadic+120°, +240°#fee0da#d8efdd
Split-complementary+150°, +210°#f9e4d1#e3ecd3

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Tailwind indigo-100 is a cool color: its hue is 226° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
lavender#e6e6fa1.0
gainsboro#dcdcdc4.9
aliceblue#f0f8ff5.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
blue-100#dbeafe1.0
violet-100#ede9fe1.8
slate-200#e2e8f02.2

Code snippets

Tailwind CSS
<div class="bg-indigo-100 text-black">...</div>
<p class="text-indigo-100 border-indigo-100">...</p>
CSS
.element {
  color: var(--color-indigo-100);
  background-color: oklch(93% 0.034 272.788);
  border-color: #e0e7ff;
  outline-color: rgb(224 231 255);
}
SwiftUI
import SwiftUI

extension Color {
  static let indigo100 = Color(red: 0.878, green: 0.906, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Indigo100 = Color(0xFFE0E7FF)
Flutter
import 'package:flutter/material.dart';

const indigo100 = Color(0xFFE0E7FF);
Android XML
<!-- res/values/colors.xml -->
<color name="indigo_100">#E0E7FF</color>

Frequently asked questions

What is the hex code for Tailwind indigo-100?
In Tailwind CSS v4, indigo-100 is oklch(93% 0.034 272.788), which converts to #E0E7FF (rgb(224, 231, 255)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #E0E7FF.
What is the difference between indigo-100 in Tailwind v3 and v4?
v3 used the hex #E0E7FF; v4 redefined the palette in OKLCH as oklch(93% 0.034 272.788). In v3, indigo-100 was #E0E7FF. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
How do I use indigo-100 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-indigo-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on indigo-100?
White text on indigo-100 has a contrast ratio of 1.23:1, which fails AA even for large text under WCAG 2.2. Black text reaches 17.04:1 and passes both AA and AAA. In APCA terms that is Lc −13.3 for white and Lc 92.1 for black.
Which CSS named color is closest to indigo-100?
The closest is lavender (#E6E6FA) at ΔE OK 1.0, followed by gainsboro and aliceblue.

Last reviewed by Arielton Oberek.