Tailwind Gray 700

gray-700 · #374151 · rgb(55, 65, 81)

gray-700 is a dark muted azure from the Tailwind CSS default palette, hex code #374151.

HEX#374151
RGBrgb(55, 65, 81)
HSLhsl(217, 19%, 27%)
CMYKcmyk(32%, 20%, 0%, 68%)
CSS variable (v4)var(--color-gray-700)
Color nameDark Slate Gray (closest)

Classes

bg-gray-700
text-gray-700
border-gray-700
ring-gray-700
from-gray-700 via-gray-700 to-gray-700
bg-gray-700/50   /* 50% opacity */
White text · 10.31:1 · AAA
Black text · 2.04:1 · fails
text-gray-300 · 7:1 · AAA

Check contrast with any color →

Tailwind gray-700: questions & answers

What is the HEX code of Tailwind gray-700?

Tailwind gray-700 is #374151, which is rgb(55, 65, 81) or hsl(217, 19%, 27%).

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

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

What text color works on bg-gray-700?

gray-300 (#D1D5DB) is the closest shade of the same color with readable contrast (7:1). Plain white text gives 10.31:1.