Shades of Black

Tints — toward white
Shades — toward black

Named shades of black

NameHexRGBHSL
Black#000000rgb(0, 0, 0)hsl(0.0, 0.0%, 0%)
Midnightblue#191970rgb(25, 25, 112)hsl(240, 64%, 27%)
Darkgreen#006400rgb(0, 100, 0)hsl(120, 100%, 20%)
Indigo#4B0082rgb(75, 0, 130)hsl(275, 100%, 25%)
Maroon#800000rgb(128, 0, 0)hsl(0, 100%, 25%)
Darkslategray#2F4F4Frgb(47, 79, 79)hsl(180, 25%, 25%)
Darkred#8B0000rgb(139, 0, 0)hsl(0, 100%, 27%)
Darkblue#00008Brgb(0, 0, 139)hsl(240, 100%, 27%)
Darkmagenta#8B008Brgb(139, 0, 139)hsl(300, 100%, 27%)
Darkolivegreen#556B2Frgb(85, 107, 47)hsl(82, 39%, 30%)

10 named shades of black with hex, RGB, and HSL codes, plus a ladder tool that builds tints and shades from any black. Click a ladder step to set it as the current color; the table's Copy buttons copy a code.

Black has exactly one pure form — #000000 — and a family of near-blacks around it. This page lists 10 named blacks, each with its exact hex code, plus a tool that builds a tint ladder from any black.

What counts as a shade of black?

Every color on this page is a named CSS color in the black family — real, standard colors with exact hex codes, not approximations. The ladder tool above takes any black and builds its tints (mixed toward white) and shades (mixed toward black) in ten even steps, so you can pick the exact lightness you need instead of guessing.

When you pair a black with other colors, the classic partners are its complement and neutrals like white, charcoal, and beige. Use the complementary colors tool to find the exact complement of any shade on this page.

Frequently asked questions

What is the hex code for black?

Black is #000000. In RGB that is rgb(0, 0, 0).

Is there only one true black in CSS?

Yes. Black (#000000) is the only CSS named color that is pure black. The other colors on this page are near-blacks — very dark colors that read as black at a glance but carry a hint of blue, green, or red.

What is the contrast ratio of black on white?

Black text on a white background scores 21.00:1, the highest contrast ratio possible and the most readable combination that exists.

What colors go with black?

Black pairs well with white, gold, red, and silver.

Related tools

Black · Complementary Colors · Palette Generator · Shades of Gray · Shades of White