Black Navy color code: #01162E

One of the deepest usable navies, useful when a design needs black weight but blue temperature.

Midnight Navy
#01162E

Black Navy · rgb(1, 22, 46)

Every format for Black Navy

HEX
#01162E
RGB
rgb(1, 22, 46)
HSL
hsl(212, 96%, 9%)
HSV
212°, 98%, 18%
CMYK
98%, 52%, 0%, 82%
Lightness
9% · dark

Hue sits at 212°, which makes Black Navy a slightly cool blue navy, with 96% saturation. In the Midnight Navy family it reads as a dark option.

Text contrast on Black Navy

Contrast ratios are calculated using the WCAG 2.1 relative luminance formula. Normal body text needs 4.5:1 and large text needs 3:1 to pass AA.

White text on Black Navy

The quick brown fox jumps over the lazy dog.

18.17:1 — AAA for normal text

Black text on Black Navy

The quick brown fox jumps over the lazy dog.

1.16:1 — below AA, decorative use only

Black Navy text on white

The quick brown fox jumps over the lazy dog.

18.17:1 — AAA for normal text

Accessibility notes

  • Pair Black Navy with white text for the strongest reading experience: that combination gives 18.17:1.
  • Used as a text colour on white, it clears the 3:1 bar for large headings.
  • Never rely on Black Navy alone to communicate state. Add an icon, label or underline so the meaning survives for colour-blind users and in greyscale printing.
  • When placing text over a photograph tinted with Black Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.

Using Black Navy in CSS and HTML

CSS example

:root {
  --black-navy: #01162E;
}

.panel {
  background-color: var(--black-navy);
  color: #FFFFFF;
  border: 1px solid #01162E;
}

HTML example

<div style="background-color: #01162E; color: #FFFFFF; padding: 1rem;">
  Black Navy #01162E
</div>

Common uses

  • Page and section backgrounds in dark interfaces, where it holds white text cleanly.
  • Midnight Navy palettes for brand systems that need a dependable cool anchor.
  • Print work where a deep blue is preferred to black, using the CMYK build 98%, 52%, 0%, 82%.
  • Data visualisation, as one step in a lightness-based navy scale.

Design recommendations

  • Build lighter and darker variants by changing only the lightness in hsl(212, 96%, 9%). Keeping hue fixed is what makes a scale look intentional.
  • Give Black Navy at least one warm counterweight. A cool palette with no warm accent tends to read as cold rather than calm.
  • Saturation is high here, so use it in measured amounts. Large flat areas of a saturated navy can feel heavy on screen.

Complementary and matching colors

Each of these is derived from the hue, saturation and lightness of Black Navy. Click a swatch to copy it.

Complementary #AF5F04
Split complement #AF0904
Warm accent #9C7F16
Analogous cool #03969B
Analogous warm #08039B
Triadic #960348

Similar navy shades

Eclipse Navy

Midnight Navy

HEX
#080F26
RGB
8, 15, 38
HSL
226, 65%, 9%
CMYK
79%, 61%, 0%, 85%

Ink Blue

Midnight Navy

HEX
#0A1128
RGB
10, 17, 40
HSL
226, 60%, 10%
CMYK
75%, 58%, 0%, 84%

Midnight Navy

Midnight Navy

HEX
#0B132B
RGB
11, 19, 43
HSL
225, 59%, 11%
CMYK
74%, 56%, 0%, 83%

Obsidian Blue

Midnight Navy

HEX
#10182B
RGB
16, 24, 43
HSL
222, 46%, 12%
CMYK
63%, 44%, 0%, 83%

Deep Sea Navy

Midnight Navy

HEX
#04203A
RGB
4, 32, 58
HSL
209, 87%, 12%
CMYK
93%, 45%, 0%, 77%

Sapphire Night

Midnight Navy

HEX
#0D1B3E
RGB
13, 27, 62
HSL
223, 65%, 15%
CMYK
79%, 56%, 0%, 76%

Continue exploring

FAQs about Black Navy

What is the Black Navy color code?

The Black Navy color code is #01162E in HEX, rgb(1, 22, 46) in RGB and hsl(212, 96%, 9%) in HSL.

What is the RGB value of Black Navy?

Black Navy is rgb(1, 22, 46), meaning 1 units of red, 22 of green and 46 of blue on the 0 to 255 scale.

What is the CMYK value of Black Navy?

In CMYK, Black Navy converts to approximately 98%, 52%, 0%, 82%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.

Does white text work on Black Navy?

White text on Black Navy gives a contrast ratio of 18.17:1, which is AAA for normal text.

Does black text work on Black Navy?

Black text on Black Navy gives a contrast ratio of 1.16:1, which is below AA, decorative use only.

Which colors go with Black Navy?

Its direct complement is #AF5F04, and the warm accent #9C7F16 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.

Is Black Navy a light or dark navy?

At 9% lightness, Black Navy is classed as a dark navy in this collection.