Tailwind Slate 700

slate-700 · #334155 · rgb(51, 65, 85)

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

HEX#334155
RGBrgb(51, 65, 85)
HSLhsl(215, 25%, 27%)
CMYKcmyk(40%, 24%, 0%, 67%)
CSS variable (v4)var(--color-slate-700)
Color nameDark Slate Gray (closest)

Classes

bg-slate-700
text-slate-700
border-slate-700
ring-slate-700
from-slate-700 via-slate-700 to-slate-700
bg-slate-700/50   /* 50% opacity */
White text · 10.35:1 · AAA
Black text · 2.03:1 · fails
text-slate-300 · 6.97:1 · AA

Check contrast with any color →

Tailwind slate-700: questions & answers

What is the HEX code of Tailwind slate-700?

Tailwind slate-700 is #334155, which is rgb(51, 65, 85) or hsl(215, 25%, 27%).

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

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

What text color works on bg-slate-700?

slate-300 (#CBD5E1) is the closest shade of the same color with readable contrast (6.97:1). Plain white text gives 10.35:1.