Color Values
- HEX
- #EEF2FF
- RGB
- rgb(238, 242, 255)
- HSL
- hsl(226, 100%, 97%)
- OKLCH
- oklch(0.962 0.018 272)
- CMYK
- cmyk(7%, 5%, 0%, 0%)
- CSS Variable
- var(--color-indigo-50)
- Tailwind Class
- bg-indigo-50
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.12:1
On Black
18.78:1
Tailwind Usage — All Utilities
Background
bg-indigo-50Text
text-indigo-50Border
border-indigo-50Ring
ring-indigo-50Outline
outline-indigo-50Fill
fill-indigo-50Stroke
stroke-indigo-50From (gradient)
from-indigo-50Via (gradient)
via-indigo-50To (gradient)
to-indigo-50Placeholder
placeholder-indigo-50Caret
caret-indigo-50Accent
accent-indigo-50Decoration
decoration-indigo-50Shadow Color
shadow-indigo-50Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'indigo-50': '#eef2ff',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #EEF2FF;
/* RGB */
background-color: rgb(238, 242, 255);
/* HSL */
background-color: hsl(226, 100%, 97%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.962 0.018 272);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-indigo-50);
/* Gradient example */
background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);OKLCH — Modern Color Space
Lightness (L)
0.962
96% perceived brightness
Chroma (C)
0.018
Color intensity / saturation
Hue (H)
272°
Angle on perceptual hue wheel
oklch(0.962 0.018 272)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
Ultra-light background tint
Shade 50 of the Indigo palette
Recommended Uses
- ✓Page backgrounds
- ✓Subtle section fills
- ✓Notification banners
- ✓Hover state backgrounds
- ✓Table row alternates
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #EEF2FF
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Indigo 50
Nearest Tailwind equivalent — #EEF2FF
Frequently Asked Questions
- What is the hex code for Tailwind Indigo 50?
- Tailwind Indigo 50 has the hex code #EEF2FF. Its RGB value is rgb(238, 242, 255) and its HSL value is hsl(226, 100%, 97%).
- What Tailwind utility classes use Indigo 50?
- Use bg-indigo-50 for backgrounds, text-indigo-50 for text color, border-indigo-50 for borders, and ring-indigo-50 for focus rings. In Tailwind v4 the CSS variable var(--color-indigo-50) is available natively.
- Is Tailwind Indigo 50 WCAG accessible?
- Tailwind Indigo 50 achieves a 1.12:1 contrast ratio on white (Fail) and 18.78:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Indigo 50?
- Tailwind Indigo 50 in OKLCH is oklch(0.962 0.018 272) — lightness 0.962, chroma 0.018, hue 272°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Indigo 50 used for?
- At shade 50, Tailwind Indigo 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.