Tailwind Cyan 800

cyan-800 · #155E75 · rgb(21, 94, 117)

cyan-800 is a dark vivid cyan from the Tailwind CSS default palette, hex code #155E75.

HEX#155E75
RGBrgb(21, 94, 117)
HSLhsl(194, 70%, 27%)
CMYKcmyk(82%, 20%, 0%, 54%)
CSS variable (v4)var(--color-cyan-800)
Color namePetrol (closest)

Classes

bg-cyan-800
text-cyan-800
border-cyan-800
ring-cyan-800
from-cyan-800 via-cyan-800 to-cyan-800
bg-cyan-800/50   /* 50% opacity */
White text · 7.27:1 · AAA
Black text · 2.89:1 · fails
text-cyan-300 · 5.01:1 · AA

Check contrast with any color →

Tailwind cyan-800: questions & answers

What is the HEX code of Tailwind cyan-800?

Tailwind cyan-800 is #155E75, which is rgb(21, 94, 117) or hsl(194, 70%, 27%).

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

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

What text color works on bg-cyan-800?

cyan-300 (#67E8F9) is the closest shade of the same color with readable contrast (5.01:1). Plain white text gives 7.27:1.