Black colour (#000000)

Black is very dark a neutral grey with hex code #000000, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 0, 0, 0; in HSL 0°, 0%, 0%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Black colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Black in every format

FormatValue
HEX#000000
RGBrgb(0, 0, 0)
RGB (0–1)0.000, 0.000, 0.000
HSLhsl(0, 0%, 0%)
CMYK (approx.)0%, 0%, 0%, 100%
CSScolor: black;

Shades and tints of Black

Same hue and saturation, lightness from 90% to 10%:

#e6e6e6 #cccccc #b3b3b3 #999999 #808080 #666666 #4d4d4d #333333 #1a1a1a

Colours that go with Black

HarmonyColours
Complementary #000000
Triadic #000000 #000000
Analogous #000000 #000000

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
darkgreen #006400noticeably different
midnightblue #191970noticeably different
darkslategray #2f4f4fnoticeably different
green #008000noticeably different
maroon #800000noticeably different

Accessibility

Contrast ratio of Black against white is 21:1 (passes WCAG AA for normal text) and against black 1:1 (fails). Use Black for text on white backgrounds.

Frequently asked questions

What is the hex code for Black?

#000000.

What is Black in RGB?

rgb(0, 0, 0).

What colour is complementary to Black?

#000000, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.