Tailwind Neutral 400

neutral-400 · #A3A3A3 · rgb(163, 163, 163)

neutral-400 is a light gray from the Tailwind CSS default palette, hex code #A3A3A3.

HEX#A3A3A3
RGBrgb(163, 163, 163)
HSLhsl(0, 0%, 64%)
CMYKcmyk(0%, 0%, 0%, 36%)
CSS variable (v4)var(--color-neutral-400)
Color nameDark Gray (closest)

Classes

bg-neutral-400
text-neutral-400
border-neutral-400
ring-neutral-400
from-neutral-400 via-neutral-400 to-neutral-400
bg-neutral-400/50   /* 50% opacity */
White text · 2.52:1 · fails
Black text · 8.33:1 · AAA
text-neutral-800 · 6:1 · AA

Check contrast with any color →

Tailwind neutral-400: questions & answers

What is the HEX code of Tailwind neutral-400?

Tailwind neutral-400 is #A3A3A3, which is rgb(163, 163, 163) or hsl(0, 0%, 64%).

How do I use neutral-400 as a background in Tailwind?

Add the class bg-neutral-400 to the element. Use text-neutral-400 for text and border-neutral-400 for borders.

What text color works on bg-neutral-400?

neutral-800 (#262626) is the closest shade of the same color with readable contrast (6:1). Plain black text gives 8.33:1.