Skip to main content

bg-indigo-600

Tailwind Indigo 600

#4F46E5·Indigo family·Shade 600

Color Values

HEX
#4F46E5
RGB
rgb(79, 70, 229)
HSL
hsl(243, 75%, 59%)
OKLCH
oklch(0.511 0.230 277)
CMYK
cmyk(66%, 69%, 0%, 10%)
CSS Variable
var(--color-indigo-600)
Tailwind Class
bg-indigo-600

Accessibility Score

60/100

Good

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

On White

6.29:1

AA

On Black

3.34:1

AA Large
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-indigo-600

Text

text-indigo-600

Border

border-indigo-600

Ring

ring-indigo-600

Outline

outline-indigo-600

Fill

fill-indigo-600

Stroke

stroke-indigo-600

From (gradient)

from-indigo-600

Via (gradient)

via-indigo-600

To (gradient)

to-indigo-600

Placeholder

placeholder-indigo-600

Caret

caret-indigo-600

Accent

accent-indigo-600

Decoration

decoration-indigo-600

Shadow Color

shadow-indigo-600

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'indigo-600': '#4f46e5', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #4F46E5;

/* RGB */
background-color: rgb(79, 70, 229);

/* HSL */
background-color: hsl(243, 75%, 59%);

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

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

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

OKLCH — Modern Color Space

Lightness (L)

0.511

51% perceived brightness

Chroma (C)

0.230

Color intensity / saturation

Hue (H)

277°

Angle on perceptual hue wheel

oklch(0.511 0.230 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

Accessible primary action

Shade 600 of the Indigo palette

Recommended Uses

  • Primary buttons on white (passes AA)
  • Active state fills
  • Bold text links
  • Form borders on focus
  • Strong icon fills

Avoid

Text on dark backgrounds — may fall below required contrast.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #4F46E5

Frequently Asked Questions

What is the hex code for Tailwind Indigo 600?
Tailwind Indigo 600 has the hex code #4F46E5. Its RGB value is rgb(79, 70, 229) and its HSL value is hsl(243, 75%, 59%).
What Tailwind utility classes use Indigo 600?
Use bg-indigo-600 for backgrounds, text-indigo-600 for text color, border-indigo-600 for borders, and ring-indigo-600 for focus rings. In Tailwind v4 the CSS variable var(--color-indigo-600) is available natively.
Is Tailwind Indigo 600 WCAG accessible?
Tailwind Indigo 600 achieves a 6.29:1 contrast ratio on white (AA) and 3.34:1 on black (AA Large). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Indigo 600?
Tailwind Indigo 600 in OKLCH is oklch(0.511 0.230 277) — lightness 0.511, chroma 0.230, hue 277°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Indigo 600 used for?
At shade 600, Tailwind Indigo 600 is best described as "Accessible primary action". Recommended uses: Primary buttons on white (passes AA), Active state fills, Bold text links.