Black Color Code: Hex #000000
The hex code for Black is #000000 (the CSS keyword black). Black RGB code: rgb(0, 0, 0).
CSS Color 4, xkcd color survey, meodai color-name-list
#000000The same code in all 3 listsBlack color codes: the Black hex code in every format
HEX
RGB
HSL
OKLCH
LAB
CMYK
Sources
CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list
Properties
- Hex codes
- the same in all 3 color lists
- Family
- black
- Contrast
- 21.00:1 with white, 1.00:1 with black
- CSS keyword
- black
- Character
- very dark, near-neutral
- Readable text on it
- white (AA)
A very dark, almost neutral tint. In code, black gives exactly this hex value. Every list that includes the name agrees on it, so there is only one code to remember.
White text reads best on it; black text does not pass WCAG AA. Next to Dark Purple, its closest named neighbour, it looks darker, more muted and neither warmer nor cooler; beside Dark Slate Gray it looks darker, more muted and warmer. It is one of the 16 original HTML 4 color names. All three channels are multiples of 51, so it is in the old 216-color web-safe palette.
Colors that go with Black
Complementary: the opposite of Black
#000000White text 21.00:1#000000White text 21.00:1#555555White text 7.46:1#000000White text 21.00:1
Analogous
#000000White text 21.00:1#000000White text 21.00:1#000000White text 21.00:1#808080Black text 5.32:1
Triadic
#000000White text 21.00:1#000000White text 21.00:1#000000White text 21.00:1#AEAEAEBlack text 9.47:1
Monochrome
#000000White text 21.00:1#000000White text 21.00:1#000000White text 21.00:1#2E2E2EWhite text 13.58:1#808080Black text 5.32:1
With neutrals
#000000White text 21.00:1#AEAEAEBlack text 9.47:1#000000White text 21.00:1#4D4D4DWhite text 8.45:1
Preview
Heading on Black
Body text on this color, 21.00:1.
ButtonHeading in Black
Text in this color on white, 21.00:1.
ButtonTints and shades
#AEAEAE#808080#555555#2E2E2E#0B0B0B#000000#000000#000000#000000#000000#000000
WhiteBlackBlack
Similar named colors
Lists and sources
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: