Tailwind Sky 900

sky-900 · #0C4A6E · rgb(12, 74, 110)

sky-900 is a dark vivid azure from the Tailwind CSS default palette, hex code #0C4A6E.

HEX#0C4A6E
RGBrgb(12, 74, 110)
HSLhsl(202, 80%, 24%)
CMYKcmyk(89%, 33%, 0%, 57%)
CSS variable (v4)var(--color-sky-900)
Color nameLight Navy (closest)

Classes

bg-sky-900
text-sky-900
border-sky-900
ring-sky-900
from-sky-900 via-sky-900 to-sky-900
bg-sky-900/50   /* 50% opacity */
White text · 9.46:1 · AAA
Black text · 2.22:1 · fails
text-sky-300 · 5.67:1 · AA

Check contrast with any color →

Tailwind sky-900: questions & answers

What is the HEX code of Tailwind sky-900?

Tailwind sky-900 is #0C4A6E, which is rgb(12, 74, 110) or hsl(202, 80%, 24%).

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

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

What text color works on bg-sky-900?

sky-300 (#7DD3FC) is the closest shade of the same color with readable contrast (5.67:1). Plain white text gives 9.46:1.