Tailwind Gray 950

gray-950 · #030712 · rgb(3, 7, 18)

gray-950 is a very dark vivid azure from the Tailwind CSS default palette, hex code #030712.

HEX#030712
RGBrgb(3, 7, 18)
HSLhsl(224, 71%, 4%)
CMYKcmyk(83%, 61%, 0%, 93%)
CSS variable (v4)var(--color-gray-950)
Color nameBlack (closest)

Classes

bg-gray-950
text-gray-950
border-gray-950
ring-gray-950
from-gray-950 via-gray-950 to-gray-950
bg-gray-950/50   /* 50% opacity */
White text · 20.13:1 · AAA
Black text · 1.04:1 · fails
text-gray-400 · 7.93:1 · AAA

Check contrast with any color →

Tailwind gray-950: questions & answers

What is the HEX code of Tailwind gray-950?

Tailwind gray-950 is #030712, which is rgb(3, 7, 18) or hsl(224, 71%, 4%).

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

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

What text color works on bg-gray-950?

gray-400 (#9CA3AF) is the closest shade of the same color with readable contrast (7.93:1). Plain white text gives 20.13:1.