Tailwind Sky 500

sky-500 · #0EA5E9 · rgb(14, 165, 233)

sky-500 is a medium vivid azure from the Tailwind CSS default palette, hex code #0EA5E9.

HEX#0EA5E9
RGBrgb(14, 165, 233)
HSLhsl(199, 89%, 48%)
CMYKcmyk(94%, 29%, 0%, 9%)
CSS variable (v4)var(--color-sky-500)
Color nameCyan Blue (closest)

Classes

bg-sky-500
text-sky-500
border-sky-500
ring-sky-500
from-sky-500 via-sky-500 to-sky-500
bg-sky-500/50   /* 50% opacity */
White text · 2.77:1 · fails
Black text · 7.58:1 · AAA
text-sky-950 · 5.01:1 · AA

Check contrast with any color →

Tailwind sky-500: questions & answers

What is the HEX code of Tailwind sky-500?

Tailwind sky-500 is #0EA5E9, which is rgb(14, 165, 233) or hsl(199, 89%, 48%).

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

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

What text color works on bg-sky-500?

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