#000000

black

#000000 is a black colour. In RGB it is 0 red, 0 green and 0 blue, which converts to a hue of 0 degrees, 0% saturation and 0% lightness. It is one of the named CSS colours, written as black in stylesheets.

Color values

HEX#000000
RGBrgb(0, 0, 0)
HSLhsl(0, 0%, 0%)
HSVhsv(0, 0%, 0%)
CMYKcmyk(0%, 0%, 0%, 100%)

Contrast and accessibility

Against white the contrast ratio is 21:1, and against black it is 1:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White21:1AAAAAA
Black1:1FailFail

Tints and shades

Lighter tints move #000000 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #000000;
CSS rgb()color: rgb(0 0 0);
Tailwindbg-[#000000]
SwiftUIColor(red: 0.000, green: 0.000, blue: 0.000)
AndroidColor.parseColor("#000000")

Related tools