Tailwind Slate 200

slate-200 · #E2E8F0 · rgb(226, 232, 240)

slate-200 is a very light muted azure from the Tailwind CSS default palette, hex code #E2E8F0.

HEX#E2E8F0
RGBrgb(226, 232, 240)
HSLhsl(214, 32%, 91%)
CMYKcmyk(6%, 3%, 0%, 6%)
CSS variable (v4)var(--color-slate-200)
Color nameLavender (closest)

Classes

bg-slate-200
text-slate-200
border-slate-200
ring-slate-200
from-slate-200 via-slate-200 to-slate-200
bg-slate-200/50   /* 50% opacity */
White text · 1.23:1 · fails
Black text · 17.03:1 · AAA
text-slate-600 · 6.15:1 · AA

Check contrast with any color →

Tailwind slate-200: questions & answers

What is the HEX code of Tailwind slate-200?

Tailwind slate-200 is #E2E8F0, which is rgb(226, 232, 240) or hsl(214, 32%, 91%).

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

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

What text color works on bg-slate-200?

slate-600 (#475569) is the closest shade of the same color with readable contrast (6.15:1). Plain black text gives 17.03:1.