Tailwind Zinc 700

zinc-700 · #3F3F46 · rgb(63, 63, 70)

zinc-700 is a dark gray from the Tailwind CSS default palette, hex code #3F3F46.

HEX#3F3F46
RGBrgb(63, 63, 70)
HSLhsl(240, 5%, 26%)
CMYKcmyk(10%, 10%, 0%, 73%)
CSS variable (v4)var(--color-zinc-700)
Color nameOnyx (closest)

Classes

bg-zinc-700
text-zinc-700
border-zinc-700
ring-zinc-700
from-zinc-700 via-zinc-700 to-zinc-700
bg-zinc-700/50   /* 50% opacity */
White text · 10.44:1 · AAA
Black text · 2.01:1 · fails
text-zinc-300 · 7.07:1 · AAA

Check contrast with any color →

Tailwind zinc-700: questions & answers

What is the HEX code of Tailwind zinc-700?

Tailwind zinc-700 is #3F3F46, which is rgb(63, 63, 70) or hsl(240, 5%, 26%).

How do I use zinc-700 as a background in Tailwind?

Add the class bg-zinc-700 to the element. Use text-zinc-700 for text and border-zinc-700 for borders.

What text color works on bg-zinc-700?

zinc-300 (#D4D4D8) is the closest shade of the same color with readable contrast (7.07:1). Plain white text gives 10.44:1.