Tailwind Blue 900

blue-900 · #1E3A8A · rgb(30, 58, 138)

blue-900 is a dark azure from the Tailwind CSS default palette, hex code #1E3A8A.

HEX#1E3A8A
RGBrgb(30, 58, 138)
HSLhsl(224, 64%, 33%)
CMYKcmyk(78%, 58%, 0%, 46%)
CSS variable (v4)var(--color-blue-900)
Color nameBluebell (closest)

Classes

bg-blue-900
text-blue-900
border-blue-900
ring-blue-900
from-blue-900 via-blue-900 to-blue-900
bg-blue-900/50   /* 50% opacity */
White text · 10.36:1 · AAA
Black text · 2.03:1 · fails
text-blue-300 · 5.74:1 · AA

Check contrast with any color →

Tailwind blue-900: questions & answers

What is the HEX code of Tailwind blue-900?

Tailwind blue-900 is #1E3A8A, which is rgb(30, 58, 138) or hsl(224, 64%, 33%).

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

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

What text color works on bg-blue-900?

blue-300 (#93C5FD) is the closest shade of the same color with readable contrast (5.74:1). Plain white text gives 10.36:1.