Cobalt Night color code: #123C7A

A deep cobalt-leaning navy that stays vivid at small sizes.

Dark Navy
#123C7A

Cobalt Night · rgb(18, 60, 122)

Every format for Cobalt Night

HEX
#123C7A
RGB
rgb(18, 60, 122)
HSL
hsl(216, 74%, 27%)
HSV
216°, 85%, 48%
CMYK
85%, 51%, 0%, 52%
Lightness
27% · dark

Hue sits at 216°, which makes Cobalt Night a slightly cool blue navy, with 74% saturation. In the Dark Navy family it reads as a dark option.

Text contrast on Cobalt Night

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 Cobalt Night

The quick brown fox jumps over the lazy dog.

10.75:1 — AAA for normal text

Black text on Cobalt Night

The quick brown fox jumps over the lazy dog.

1.95:1 — below AA, decorative use only

Cobalt Night text on white

The quick brown fox jumps over the lazy dog.

10.75:1 — AAA for normal text

Accessibility notes

  • Pair Cobalt Night with white text for the strongest reading experience: that combination gives 10.75:1.
  • Used as a text colour on white, it clears the 3:1 bar for large headings.
  • Never rely on Cobalt Night 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 Cobalt Night, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.

Using Cobalt Night in CSS and HTML

CSS example

:root {
  --cobalt-night: #123C7A;
}

.panel {
  background-color: var(--cobalt-night);
  color: #FFFFFF;
  border: 1px solid #123C7A;
}

HTML example

<div style="background-color: #123C7A; color: #FFFFFF; padding: 1rem;">
  Cobalt Night #123C7A
</div>

Common uses

  • Page and section backgrounds in dark interfaces, where it holds white text cleanly.
  • Dark 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 85%, 51%, 0%, 52%.
  • 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(216, 74%, 27%). Keeping hue fixed is what makes a scale look intentional.
  • Give Cobalt Night 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 Cobalt Night. Click a swatch to copy it.

Complementary #C8841E
Split complement #C82F1E
Warm accent #E1C62D
Analogous cool #20C7D9
Analogous warm #3320D9
Triadic #AD1A55

Similar navy shades

Resolution Blue

Dark Navy

HEX
#002387
RGB
0, 35, 135
HSL
224, 100%, 26%
CMYK
100%, 74%, 0%, 47%

Blueprint Navy

Dark Navy

HEX
#164B7E
RGB
22, 75, 126
HSL
209, 70%, 29%
CMYK
83%, 40%, 0%, 51%

Admiral Blue

Dark Navy

HEX
#123E6B
RGB
18, 62, 107
HSL
210, 71%, 25%
CMYK
83%, 42%, 0%, 58%

Catalina Blue

Dark Navy

HEX
#062A78
RGB
6, 42, 120
HSL
221, 90%, 25%
CMYK
95%, 65%, 0%, 53%

Navy Peony

Dark Navy

HEX
#1F3B73
RGB
31, 59, 115
HSL
220, 58%, 29%
CMYK
73%, 49%, 0%, 55%

Regatta Blue

Dark Navy

HEX
#1B4F8A
RGB
27, 79, 138
HSL
212, 67%, 32%
CMYK
80%, 43%, 0%, 46%

Continue exploring

FAQs about Cobalt Night

What is the Cobalt Night color code?

The Cobalt Night color code is #123C7A in HEX, rgb(18, 60, 122) in RGB and hsl(216, 74%, 27%) in HSL.

What is the RGB value of Cobalt Night?

Cobalt Night is rgb(18, 60, 122), meaning 18 units of red, 60 of green and 122 of blue on the 0 to 255 scale.

What is the CMYK value of Cobalt Night?

In CMYK, Cobalt Night converts to approximately 85%, 51%, 0%, 52%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.

Does white text work on Cobalt Night?

White text on Cobalt Night gives a contrast ratio of 10.75:1, which is AAA for normal text.

Does black text work on Cobalt Night?

Black text on Cobalt Night gives a contrast ratio of 1.95:1, which is below AA, decorative use only.

Which colors go with Cobalt Night?

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

Is Cobalt Night a light or dark navy?

At 27% lightness, Cobalt Night is classed as a dark navy in this collection.