Skip to main content

bg-indigo-300

Tailwind Indigo 300

#A5B4FC·Indigo family·Shade 300

Color Values

HEX
#A5B4FC
RGB
rgb(165, 180, 252)
HSL
hsl(230, 94%, 82%)
OKLCH
oklch(0.785 0.104 275)
CMYK
cmyk(35%, 29%, 0%, 1%)
CSS Variable
var(--color-indigo-300)
Tailwind Class
bg-indigo-300

Accessibility Score

60/100

Good

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

On White

1.99:1

Fail

On Black

10.53:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-indigo-300

Text

text-indigo-300

Border

border-indigo-300

Ring

ring-indigo-300

Outline

outline-indigo-300

Fill

fill-indigo-300

Stroke

stroke-indigo-300

From (gradient)

from-indigo-300

Via (gradient)

via-indigo-300

To (gradient)

to-indigo-300

Placeholder

placeholder-indigo-300

Caret

caret-indigo-300

Accent

accent-indigo-300

Decoration

decoration-indigo-300

Shadow Color

shadow-indigo-300

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #A5B4FC;

/* RGB */
background-color: rgb(165, 180, 252);

/* HSL */
background-color: hsl(230, 94%, 82%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.785 0.104 275);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.785

79% perceived brightness

Chroma (C)

0.104

Color intensity / saturation

Hue (H)

275°

Angle on perceptual hue wheel

oklch(0.785 0.104 275)

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

Light mid-tone accent

Shade 300 of the Indigo palette

Recommended Uses

  • Secondary button outlines
  • Icon strokes on dark backgrounds
  • Progress bar fills
  • Selected state highlights

Avoid

Normal-size text on white — generally below WCAG AA threshold.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #A5B4FC

Frequently Asked Questions

What is the hex code for Tailwind Indigo 300?
Tailwind Indigo 300 has the hex code #A5B4FC. Its RGB value is rgb(165, 180, 252) and its HSL value is hsl(230, 94%, 82%).
What Tailwind utility classes use Indigo 300?
Use bg-indigo-300 for backgrounds, text-indigo-300 for text color, border-indigo-300 for borders, and ring-indigo-300 for focus rings. In Tailwind v4 the CSS variable var(--color-indigo-300) is available natively.
Is Tailwind Indigo 300 WCAG accessible?
Tailwind Indigo 300 achieves a 1.99:1 contrast ratio on white (Fail) and 10.53:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Indigo 300?
Tailwind Indigo 300 in OKLCH is oklch(0.785 0.104 275) — lightness 0.785, chroma 0.104, hue 275°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Indigo 300 used for?
At shade 300, Tailwind Indigo 300 is best described as "Light mid-tone accent". Recommended uses: Secondary button outlines, Icon strokes on dark backgrounds, Progress bar fills.