Tailwind Slate 500

slate-500 · #64748B · rgb(100, 116, 139)

slate-500 is a medium muted azure from the Tailwind CSS default palette, hex code #64748B.

HEX#64748B
RGBrgb(100, 116, 139)
HSLhsl(215, 16%, 47%)
CMYKcmyk(28%, 17%, 0%, 45%)
CSS variable (v4)var(--color-slate-500)
Color nameSlate Gray (closest)

Classes

bg-slate-500
text-slate-500
border-slate-500
ring-slate-500
from-slate-500 via-slate-500 to-slate-500
bg-slate-500/50   /* 50% opacity */
White text · 4.76:1 · AA
Black text · 4.41:1 · AA (large text only)
text-slate-50 · 4.55:1 · AA

Check contrast with any color →

Tailwind slate-500: questions & answers

What is the HEX code of Tailwind slate-500?

Tailwind slate-500 is #64748B, which is rgb(100, 116, 139) or hsl(215, 16%, 47%).

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

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

What text color works on bg-slate-500?

slate-50 (#F8FAFC) is the closest shade of the same color with readable contrast (4.55:1). Plain white text gives 4.76:1.