Tailwind Sky 400

sky-400 · #38BDF8 · rgb(56, 189, 248)

sky-400 is a light vivid azure from the Tailwind CSS default palette, hex code #38BDF8.

HEX#38BDF8
RGBrgb(56, 189, 248)
HSLhsl(198, 93%, 60%)
CMYKcmyk(77%, 24%, 0%, 3%)
CSS variable (v4)var(--color-sky-400)
Color nameDeep Sky Blue (closest)

Classes

bg-sky-400
text-sky-400
border-sky-400
ring-sky-400
from-sky-400 via-sky-400 to-sky-400
bg-sky-400/50   /* 50% opacity */
White text · 2.14:1 · fails
Black text · 9.8:1 · AAA
text-sky-950 · 6.48:1 · AA

Check contrast with any color →

Tailwind sky-400: questions & answers

What is the HEX code of Tailwind sky-400?

Tailwind sky-400 is #38BDF8, which is rgb(56, 189, 248) or hsl(198, 93%, 60%).

How do I use sky-400 as a background in Tailwind?

Add the class bg-sky-400 to the element. Use text-sky-400 for text and border-sky-400 for borders.

What text color works on bg-sky-400?

sky-950 (#082F49) is the closest shade of the same color with readable contrast (6.48:1). Plain black text gives 9.8:1.