Skip to main content

bg-indigo-700

Tailwind Indigo 700

#4338CA·Indigo family·Shade 700

Color Values

HEX
#4338CA
RGB
rgb(67, 56, 202)
HSL
hsl(245, 58%, 51%)
OKLCH
oklch(0.457 0.215 277)
CMYK
cmyk(67%, 72%, 0%, 21%)
CSS Variable
var(--color-indigo-700)
Tailwind Class
bg-indigo-700

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

7.9:1

AAA

On Black

2.66:1

Fail
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-indigo-700

Text

text-indigo-700

Border

border-indigo-700

Ring

ring-indigo-700

Outline

outline-indigo-700

Fill

fill-indigo-700

Stroke

stroke-indigo-700

From (gradient)

from-indigo-700

Via (gradient)

via-indigo-700

To (gradient)

to-indigo-700

Placeholder

placeholder-indigo-700

Caret

caret-indigo-700

Accent

accent-indigo-700

Decoration

decoration-indigo-700

Shadow Color

shadow-indigo-700

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'indigo-700': '#4338ca', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #4338CA;

/* RGB */
background-color: rgb(67, 56, 202);

/* HSL */
background-color: hsl(245, 58%, 51%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.457 0.215 277);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-indigo-700);

/* Gradient example */
background: linear-gradient(135deg, #eef2ff 0%, #3730a3 100%);

OKLCH — Modern Color Space

Lightness (L)

0.457

46% perceived brightness

Chroma (C)

0.215

Color intensity / saturation

Hue (H)

277°

Angle on perceptual hue wheel

oklch(0.457 0.215 277)

OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.

Design Recommendations

Dark accent & pressed state

Shade 700 of the Indigo palette

Recommended Uses

  • Pressed/active button states
  • Text links on white
  • Dark-mode primary buttons
  • Table headers
  • Strong UI accents

Avoid

Text on black — contrast is too low for dark mode text.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #4338CA

Frequently Asked Questions

What is the hex code for Tailwind Indigo 700?
Tailwind Indigo 700 has the hex code #4338CA. Its RGB value is rgb(67, 56, 202) and its HSL value is hsl(245, 58%, 51%).
What Tailwind utility classes use Indigo 700?
Use bg-indigo-700 for backgrounds, text-indigo-700 for text color, border-indigo-700 for borders, and ring-indigo-700 for focus rings. In Tailwind v4 the CSS variable var(--color-indigo-700) is available natively.
Is Tailwind Indigo 700 WCAG accessible?
Tailwind Indigo 700 achieves a 7.9:1 contrast ratio on white (AAA) and 2.66:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Indigo 700?
Tailwind Indigo 700 in OKLCH is oklch(0.457 0.215 277) — lightness 0.457, chroma 0.215, hue 277°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Indigo 700 used for?
At shade 700, Tailwind Indigo 700 is best described as "Dark accent & pressed state". Recommended uses: Pressed/active button states, Text links on white, Dark-mode primary buttons.