Tailwind Sky 300

sky-300 · #7DD3FC · rgb(125, 211, 252)

sky-300 is a light vivid azure from the Tailwind CSS default palette, hex code #7DD3FC.

HEX#7DD3FC
RGBrgb(125, 211, 252)
HSLhsl(199, 95%, 74%)
CMYKcmyk(50%, 16%, 0%, 1%)
CSS variable (v4)var(--color-sky-300)
Color nameSky (closest)

Classes

bg-sky-300
text-sky-300
border-sky-300
ring-sky-300
from-sky-300 via-sky-300 to-sky-300
bg-sky-300/50   /* 50% opacity */
White text · 1.67:1 · fails
Black text · 12.6:1 · AAA
text-sky-800 · 4.54:1 · AA

Check contrast with any color →

Tailwind sky-300: questions & answers

What is the HEX code of Tailwind sky-300?

Tailwind sky-300 is #7DD3FC, which is rgb(125, 211, 252) or hsl(199, 95%, 74%).

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

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

What text color works on bg-sky-300?

sky-800 (#075985) is the closest shade of the same color with readable contrast (4.54:1). Plain black text gives 12.6:1.