Black (#000000) is a very dark, grayish black. It is a CSS named color, so you can use it in stylesheets as color: black as well as by its hex code. In RGB it is rgb(0, 0, 0); in HSL, hsl(0, 0%, 0%).
#000000
Color conversions
Hex
#000000
CSS name
black
RGB
rgb(0, 0, 0)
HSL
hsl(0, 0%, 0%)
CMYK
0%, 0%, 0%, 100%
CSS example
color: #000000; background-color: rgb(0, 0, 0);
Tints and shades of #000000
The hue is calculated at seven exact lightness levels for use in backgrounds, borders, text and hover states. These values are not substituted with nearby named colors.
#ebebeb
#c7c7c7
#a3a3a3
#808080
#5c5c5c
#3d3d3d
#242424
Color schemes with #000000
#000000 is a neutral: it carries little to no hue, so wheel-based schemes like complementary or triadic would simply return the same gray. Neutrals work differently — use the ramp above for backgrounds, borders and text, and pair #000000 with a saturated accent for links, buttons and highlights. Each of these accents reads clearly against #000000:
On a #000000 background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.