Color Values
- HEX
- #6366F1
- RGB
- rgb(99, 102, 241)
- HSL
- hsl(239, 84%, 67%)
- OKLCH
- oklch(0.585 0.204 277)
- CMYK
- cmyk(59%, 58%, 0%, 5%)
- CSS Variable
- var(--color-indigo-500)
- Tailwind Class
- bg-indigo-500
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
4.47:1
On Black
4.7:1
Tailwind Usage — All Utilities
Background
bg-indigo-500Text
text-indigo-500Border
border-indigo-500Ring
ring-indigo-500Outline
outline-indigo-500Fill
fill-indigo-500Stroke
stroke-indigo-500From (gradient)
from-indigo-500Via (gradient)
via-indigo-500To (gradient)
to-indigo-500Placeholder
placeholder-indigo-500Caret
caret-indigo-500Accent
accent-indigo-500Decoration
decoration-indigo-500Shadow Color
shadow-indigo-500Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'indigo-500': '#6366f1',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #6366F1;
/* RGB */
background-color: rgb(99, 102, 241);
/* HSL */
background-color: hsl(239, 84%, 67%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.585 0.204 277);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-indigo-500);
/* Gradient example */
background: linear-gradient(135deg, #eef2ff 0%, #4f46e5 100%);OKLCH — Modern Color Space
Lightness (L)
0.585
59% perceived brightness
Chroma (C)
0.204
Color intensity / saturation
Hue (H)
277°
Angle on perceptual hue wheel
oklch(0.585 0.204 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
Primary brand color
Shade 500 of the Indigo palette
Recommended Uses
- ✓CTA buttons
- ✓Active navigation links
- ✓Primary brand accents
- ✓Interactive element fills
- ✓Highlighted badges
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #6366F1
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Indigo 500
Nearest Tailwind equivalent — #6366F1
Frequently Asked Questions
- What is the hex code for Tailwind Indigo 500?
- Tailwind Indigo 500 has the hex code #6366F1. Its RGB value is rgb(99, 102, 241) and its HSL value is hsl(239, 84%, 67%).
- What Tailwind utility classes use Indigo 500?
- Use bg-indigo-500 for backgrounds, text-indigo-500 for text color, border-indigo-500 for borders, and ring-indigo-500 for focus rings. In Tailwind v4 the CSS variable var(--color-indigo-500) is available natively.
- Is Tailwind Indigo 500 WCAG accessible?
- Tailwind Indigo 500 achieves a 4.47:1 contrast ratio on white (AA Large) and 4.7:1 on black (AA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Indigo 500?
- Tailwind Indigo 500 in OKLCH is oklch(0.585 0.204 277) — lightness 0.585, chroma 0.204, hue 277°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Indigo 500 used for?
- At shade 500, Tailwind Indigo 500 is best described as "Primary brand color". Recommended uses: CTA buttons, Active navigation links, Primary brand accents.