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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.99:1
On Black
10.53:1
Tailwind Usage — All Utilities
Background
bg-indigo-300Text
text-indigo-300Border
border-indigo-300Ring
ring-indigo-300Outline
outline-indigo-300Fill
fill-indigo-300Stroke
stroke-indigo-300From (gradient)
from-indigo-300Via (gradient)
via-indigo-300To (gradient)
to-indigo-300Placeholder
placeholder-indigo-300Caret
caret-indigo-300Accent
accent-indigo-300Decoration
decoration-indigo-300Shadow Color
shadow-indigo-300Tailwind 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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #A5B4FC
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Indigo 300
Nearest Tailwind equivalent — #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.