Color Values
- HEX
- #60A5FA
- RGB
- rgb(96, 165, 250)
- HSL
- hsl(213, 94%, 68%)
- OKLCH
- oklch(0.714 0.143 255)
- CMYK
- cmyk(62%, 34%, 0%, 2%)
- CSS Variable
- var(--color-blue-400)
- Tailwind Class
- bg-blue-400
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
2.54:1
On Black
8.26:1
Tailwind Usage — All Utilities
Background
bg-blue-400Text
text-blue-400Border
border-blue-400Ring
ring-blue-400Outline
outline-blue-400Fill
fill-blue-400Stroke
stroke-blue-400From (gradient)
from-blue-400Via (gradient)
via-blue-400To (gradient)
to-blue-400Placeholder
placeholder-blue-400Caret
caret-blue-400Accent
accent-blue-400Decoration
decoration-blue-400Shadow Color
shadow-blue-400Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'blue-400': '#60a5fa',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #60A5FA;
/* RGB */
background-color: rgb(96, 165, 250);
/* HSL */
background-color: hsl(213, 94%, 68%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.714 0.143 255);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-blue-400);
/* Gradient example */
background: linear-gradient(135deg, #eff6ff 0%, #3b82f6 100%);OKLCH — Modern Color Space
Lightness (L)
0.714
71% perceived brightness
Chroma (C)
0.143
Color intensity / saturation
Hue (H)
255°
Angle on perceptual hue wheel
oklch(0.714 0.143 255)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
Mid-tone accent
Shade 400 of the Blue palette
Recommended Uses
- ✓Icon fills on white
- ✓Secondary buttons (large text)
- ✓Chart & data visualization bars
- ✓Decorative UI elements
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #60A5FA
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Blue 400
Nearest Tailwind equivalent — #60A5FA
Frequently Asked Questions
- What is the hex code for Tailwind Blue 400?
- Tailwind Blue 400 has the hex code #60A5FA. Its RGB value is rgb(96, 165, 250) and its HSL value is hsl(213, 94%, 68%).
- What Tailwind utility classes use Blue 400?
- Use bg-blue-400 for backgrounds, text-blue-400 for text color, border-blue-400 for borders, and ring-blue-400 for focus rings. In Tailwind v4 the CSS variable var(--color-blue-400) is available natively.
- Is Tailwind Blue 400 WCAG accessible?
- Tailwind Blue 400 achieves a 2.54:1 contrast ratio on white (Fail) and 8.26:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Blue 400?
- Tailwind Blue 400 in OKLCH is oklch(0.714 0.143 255) — lightness 0.714, chroma 0.143, hue 255°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Blue 400 used for?
- At shade 400, Tailwind Blue 400 is best described as "Mid-tone accent". Recommended uses: Icon fills on white, Secondary buttons (large text), Chart & data visualization bars.