Tailwind Blue 950

blue-950 · #172554 · rgb(23, 37, 84)

blue-950 is a dark blue from the Tailwind CSS default palette, hex code #172554.

HEX#172554
RGBrgb(23, 37, 84)
HSLhsl(226, 57%, 21%)
CMYKcmyk(73%, 56%, 0%, 67%)
CSS variable (v4)var(--color-blue-950)
Color nameOxford Blue (closest)

Classes

bg-blue-950
text-blue-950
border-blue-950
ring-blue-950
from-blue-950 via-blue-950 to-blue-950
bg-blue-950/50   /* 50% opacity */
White text · 14.69:1 · AAA
Black text · 1.43:1 · fails
text-blue-400 · 5.78:1 · AA

Check contrast with any color →

Tailwind blue-950: questions & answers

What is the HEX code of Tailwind blue-950?

Tailwind blue-950 is #172554, which is rgb(23, 37, 84) or hsl(226, 57%, 21%).

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

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

What text color works on bg-blue-950?

blue-400 (#60A5FA) is the closest shade of the same color with readable contrast (5.78:1). Plain white text gives 14.69:1.