Ninja

An intense, sophisticated, and cool near-black

Ninja color codes graphic
Ninja is an intense, almost black shade with a subtle, cool sootiness. This near-black offers a sophisticated, high-contrast base for minimal UI designs or luxury branding. Because it provides a sharp 20.6:1 contrast ratio against white text, it works well for readable dark mode layouts. The hex code for this color is #020308. Pair it with muted metallics to maintain a clean, authoritative edge.

About Ninja

Soot at the bottom of a cold hearth

What does ninja mean?

Ninja reads as near-black with a faint blue cast, so it often carries the weight people give black: night, shadow, and restraint. Its extreme darkness and near-total lack of saturation make it feel heavy, still, and dim, like a room an hour after the lamps go out.

Where you see ninja

  • charcoal
  • ink in a well
  • piano lacquer
  • ninja uniforms
  • burnt matches
  • midnight sky

What it works for

Use it as a background that stays black to the eye while its blue undertone keeps large surfaces from looking flat or dead.

What colors go with ninja?

Questions about Ninja

What is the hex code for Ninja?
Ninja is #020308. In RGB that is rgb(2, 3, 8), in HSL hsl(230, 60%, 2%) and in CMYK 75%, 63%, 0%, 97%.
Is #020308 better for web design than pure black?
Yes, #020308 is often superior because it avoids the harsh eye strain associated with pure black. It offers a softer, more premium look while still maintaining excellent readability when paired with high-contrast text or accent colors.
Is Ninja readable on white or black?
Ninja has a 20.60:1 contrast ratio on white and 1.01:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.