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