Skip to content

Tailwind CSS v4 default palette

Tailwind indigo-700: #432DD7

In Tailwind CSS v4, indigo-700 is defined as --color-indigo-700: oklch(45.7% 0.24 277.023), which is #432DD7 in hex and rgb(67, 45, 215): a medium-dark, vivid blue-violet. In Tailwind v3, indigo-700 was #4338CA.

indigo-700#432DD7

In OKLCH, indigo-700 has a lightness of 45.7%, chroma 0.240 and hue 277.0°.

The value fits inside sRGB, so the hex #432DD7 represents it without loss on any screen.

In v3, indigo-700 was #4338CA. The v4 value is ΔE OK 2.5 away; v4 is more saturated.

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

Color codes for indigo-700

Color codes for indigo-700
Tailwind v4 token--color-indigo-700
OKLCH (source value)oklch(45.7% 0.24 277.023)
HEX#432DD7
RGBrgb(67, 45, 215)
HSLhsl(248, 68%, 51%)
HWBhwb(248 18% 16%)
CMYK (naive, no ICC profile)cmyk(69%, 79%, 0%, 16%)
Decimal4,402,647
Tailwind v3 hex#4338CA
Utility classesbg-indigo-700, text-indigo-700, border-indigo-700

Tailwind indigo scale

Contrast and accessibility

On indigo-700, white text has a contrast ratio of 8.09:1 and passes AAA at any text size; black text reaches 2.59: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-7002.59:1FailFailFailFail17.3
White text on indigo-7008.09:1PassPassPassPass−91.5
Indigo-700 text on white8.09:1PassPassPassPass86.7
Indigo-700 text on black2.59:1FailFailFailFail−15.3

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #4c38d9
  2. 15%
    #5f4ddd
  3. 25%
    #7262e1
  4. 35%
    #8577e5
  5. 45%
    #988ce9
  6. 55%
    #aaa1ed
  7. 65%
    #bdb6f1
  8. 75%
    #d0cbf5
  9. 85%
    #e3e0f9
  10. 95%
    #f6f5fd

Shades (mixed with black)

  1. 5%
    #402bcc
  2. 15%
    #3926b7
  3. 25%
    #3222a1
  4. 35%
    #2c1d8c
  5. 45%
    #251976
  6. 55%
    #1e1461
  7. 65%
    #17104b
  8. 75%
    #110b36
  9. 85%
    #0a0720
  10. 95%
    #03020b

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, indigo-700's complementary color is #695600 (close to darkolivegreen), its analogous colors are #0059A6 and #7B00BB, and its triadic partners are #A41200 and #006C36. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#695600
Analogous−30°, +30°#0059a6#7b00bb
Triadic+120°, +240°#a41200#006c36
Split-complementary+150°, +210°#824600#426400

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-700 is a cool color: its hue is 248° 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
blue#0000ff9.6
mediumblue#0000cd9.7
slateblue#6a5acd11.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
indigo-600#4f39f65.8
blue-700#1447e66.2
blue-800#193cb86.8

Code snippets

Tailwind CSS
<div class="bg-indigo-700 text-white">...</div>
<p class="text-indigo-700 border-indigo-700">...</p>
CSS
.element {
  color: var(--color-indigo-700);
  background-color: oklch(45.7% 0.24 277.023);
  border-color: #432dd7;
  outline-color: rgb(67 45 215);
}
SwiftUI
import SwiftUI

extension Color {
  static let indigo700 = Color(red: 0.263, green: 0.176, blue: 0.843)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const indigo700 = Color(0xFF432DD7);
Android XML
<!-- res/values/colors.xml -->
<color name="indigo_700">#432DD7</color>

Frequently asked questions

What is the hex code for Tailwind indigo-700?
In Tailwind CSS v4, indigo-700 is oklch(45.7% 0.24 277.023), which converts to #432DD7 (rgb(67, 45, 215)) in sRGB. In Tailwind v3 the same name was #4338CA.
What is the difference between indigo-700 in Tailwind v3 and v4?
v3 used the hex #4338CA; v4 redefined the palette in OKLCH as oklch(45.7% 0.24 277.023). In v3, indigo-700 was #4338CA. The v4 value is ΔE OK 2.5 away; v4 is more saturated.
How do I use indigo-700 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-indigo-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on indigo-700?
White text on indigo-700 has a contrast ratio of 8.09:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.59:1 and fails AA even for large text. In APCA terms that is Lc −91.5 for white and Lc 17.3 for black.
Which CSS named color is closest to indigo-700?
The closest is blue (#0000FF) at ΔE OK 9.6, followed by mediumblue and slateblue.

Last reviewed by Arielton Oberek.