Skip to content

Tailwind CSS v4 default palette

Tailwind indigo-200: #C6D2FF

In Tailwind CSS v4, indigo-200 is defined as --color-indigo-200: oklch(87% 0.065 274.039), which is #C6D2FF in hex and rgb(198, 210, 255): a very light, muted blue. In Tailwind v3, indigo-200 was #C7D2FE.

indigo-200#C6D2FF

In OKLCH, indigo-200 has a lightness of 87.0%, chroma 0.065 and hue 274.0°.

This OKLCH value lies outside sRGB. The hex #C6D2FF 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.7866 0.8218 0.9885).

In v3, indigo-200 was #C7D2FE. The v4 value is ΔE OK 0.3 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-200

Color codes for indigo-200
Tailwind v4 token--color-indigo-200
OKLCH (source value)oklch(87% 0.065 274.039)
HEX#C6D2FF
RGBrgb(198, 210, 255)
HSLhsl(227, 100%, 89%)
HWBhwb(227 78% 0%)
CMYK (naive, no ICC profile)cmyk(22%, 18%, 0%, 0%)
Decimal13,030,143
Display P3color(display-p3 0.7866 0.8218 0.9885)
Tailwind v3 hex#C7D2FE
Utility classesbg-indigo-200, text-indigo-200, border-indigo-200

Tailwind indigo scale

Contrast and accessibility

On indigo-200, black text has a contrast ratio of 14.06:1 and passes AAA at any text size; white text reaches 1.49: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-20014.06:1PassPassPassPass80.6
White text on indigo-2001.49:1FailFailFailFail−26.3
Indigo-200 text on white1.49:1FailFailFailFail23.2
Indigo-200 text on black14.06:1PassPassPassPass−80.1

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #c9d4ff
  2. 15%
    #cfd9ff
  3. 25%
    #d4ddff
  4. 35%
    #dae2ff
  5. 45%
    #e0e6ff
  6. 55%
    #e5ebff
  7. 65%
    #ebefff
  8. 75%
    #f1f4ff
  9. 85%
    #f6f8ff
  10. 95%
    #fcfdff

Shades (mixed with black)

  1. 5%
    #bcc8f2
  2. 15%
    #a8b3d9
  3. 25%
    #959ebf
  4. 35%
    #8189a6
  5. 45%
    #6d748c
  6. 55%
    #595e73
  7. 65%
    #454a59
  8. 75%
    #323540
  9. 85%
    #1e2026
  10. 95%
    #0a0b0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, indigo-200's complementary color is #E2D4A4 (close to wheat), its analogous colors are #B1DAFD and #DDCAF8, and its triadic partners are #FCC6B8 and #B4E1C1. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#e2d4a4
Analogous−30°, +30°#b1dafd#ddcaf8
Triadic+120°, +240°#fcc6b8#b4e1c1
Split-complementary+150°, +210°#f3cca8#cbdcad

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-200 is a cool color: its hue is 227° 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
lightblue#add8e65.6
lightsteelblue#b0c4de6.3
thistle#d8bfd86.3

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
blue-200#bedbff2.5
violet-200#ddd6ff3.2
slate-300#cad5e24.5

Code snippets

Tailwind CSS
<div class="bg-indigo-200 text-black">...</div>
<p class="text-indigo-200 border-indigo-200">...</p>
CSS
.element {
  color: var(--color-indigo-200);
  background-color: oklch(87% 0.065 274.039);
  border-color: #c6d2ff;
  outline-color: rgb(198 210 255);
}
SwiftUI
import SwiftUI

extension Color {
  static let indigo200 = Color(red: 0.776, green: 0.824, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const indigo200 = Color(0xFFC6D2FF);
Android XML
<!-- res/values/colors.xml -->
<color name="indigo_200">#C6D2FF</color>

Frequently asked questions

What is the hex code for Tailwind indigo-200?
In Tailwind CSS v4, indigo-200 is oklch(87% 0.065 274.039), which converts to #C6D2FF (rgb(198, 210, 255)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #C7D2FE.
What is the difference between indigo-200 in Tailwind v3 and v4?
v3 used the hex #C7D2FE; v4 redefined the palette in OKLCH as oklch(87% 0.065 274.039). In v3, indigo-200 was #C7D2FE. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
How do I use indigo-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-indigo-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on indigo-200?
White text on indigo-200 has a contrast ratio of 1.49:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.06:1 and passes both AA and AAA. In APCA terms that is Lc −26.3 for white and Lc 80.6 for black.
Which CSS named color is closest to indigo-200?
The closest is lightblue (#ADD8E6) at ΔE OK 5.6, followed by lightsteelblue and thistle.

Last reviewed by Arielton Oberek.