Tailwind Cyan 900

cyan-900 · #164E63 · rgb(22, 78, 99)

cyan-900 is a dark azure from the Tailwind CSS default palette, hex code #164E63.

HEX#164E63
RGBrgb(22, 78, 99)
HSLhsl(196, 64%, 24%)
CMYKcmyk(78%, 21%, 0%, 61%)
CSS variable (v4)var(--color-cyan-900)
Color namePetrol (closest)

Classes

bg-cyan-900
text-cyan-900
border-cyan-900
ring-cyan-900
from-cyan-900 via-cyan-900 to-cyan-900
bg-cyan-900/50   /* 50% opacity */
White text · 9.11:1 · AAA
Black text · 2.3:1 · fails
text-cyan-400 · 5.04:1 · AA

Check contrast with any color →

Tailwind cyan-900: questions & answers

What is the HEX code of Tailwind cyan-900?

Tailwind cyan-900 is #164E63, which is rgb(22, 78, 99) or hsl(196, 64%, 24%).

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

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

What text color works on bg-cyan-900?

cyan-400 (#22D3EE) is the closest shade of the same color with readable contrast (5.04:1). Plain white text gives 9.11:1.