Dark blue

A deep, inky blue, known to web designers as the CSS keyword darkblue.

Overview

Dark blue is a deep, pure blue. Its code, #00008B, is the CSS color keyword darkblue: blue at 139 out of 255, a little over half strength, with no red or green at all. On screen it reads as a strong, inky blue. Phthalo blue (#000F89) is almost the same color.

It is easy to confuse with navy blue. CSS navy, #000080, is a touch darker, at 128 out of 255, because the two names come from different lists: navy from the 16 colors of HTML 3.2, taken from the Windows VGA palette, and dark blue from the X11 color list of Unix computers. Side by side, most people can’t tell them apart.

Most real dark blues are darker still. People’s average dark blue in the xkcd color survey, #00035B, is close to black, and so are the dark blue uniforms of British police and the deep blue glazes in museum photos. Oxford University’s crews have been the Dark Blues since the first Boat Race, in 1829.

Dark blue carries white text easily and makes a calm, serious base for headings, buttons and formal designs. It pairs well with gold, white, light blue and warm orange.

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
HSV240°, 100%, 55%
CMYK100, 100, 0, 45
OKLCHoklch(28.8% 0.199 264.1)
Every code converts from the HEX value #00008B. #00008B is the CSS keyword darkblue in the CSS Color Module Level 4, one of the X11 color names that SVG 1.0 brought to the web in 2001. The ISCC-NBS color system uses the name dark blue for a grayer, slightly greener blue, centered on #00304E. CMYK is a screen-based estimate; print results vary.
Dark blue color card, hex #00008B: “A shot in the dark blue”

Dark blue on the color map

People’s average dark blue sits straight below the code, near the bottom of the outline: the same hue, much darker. CSS navy sits just below the code. Oxford blue lies inside to the left, and the dictionary’s dark blue sits at the left edge, greener and grayer, which this map of hue and lightness only partly shows. The Sèvres ground sits low at the right edge, leaning violet. The outline is an approximate range, not a measured one.

Shades and tints

Tints with white

Shades with black

Tones with gray

Dark blue sits in the middle. Tints add white, shades add black and tones add gray, in 10% steps out from it. Tap any swatch to copy its code.

Light and dark dark blue

#9999D1
Dark blue tintMixed 60% with white. A soft periwinkle-gray for backgrounds.
#6666B9
Light dark blueMixed 40% with white. A muted mid blue.
#00008B
Dark blueThe reference color, CSS darkblue.
#00035B
Everyday dark bluePeople’s average dark blue in the xkcd survey. Much darker than the code.
#000252
Very dark blueAbout the same as dark blue mixed 40% with black. Nearly black, with a blue glow.

Colors that go with dark blue

Pairings that work in rooms, outfits and interfaces.

Dark blue and gold

Formal and festive, like the gilded porcelain below.

Dark blue and white

Crisp and confident. White text reads easily on dark blue.

Dark Blues and Light Blues

The Boat Race pairing: deep blue with a pale one.

Dark blue and orange

Near-opposites on the color wheel. Bold and sporty.

Dark blue and blush

Soft pink warms the deep blue. Gentle and modern.

Dark blue night

A dark theme with a softer blue as the accent.

Color-wheel palettes

Pick a palette to see where its colors sit on the color wheel. The caret marks dark blue. Tap a band to copy its code.

Similar colors

Smalt56%Dark blueNavy blue90%Phthalo blue93%Zaffre70%Ultramarine87%Midnight blue69%

Lined up by hue around dark blue. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.

Dark blue vs navy blue

Dark blue#00008B · hue 240°
  • Blue at 139 of 255, a little over half
  • From the X11 color list of Unix computers
  • CSS keyword darkblue
Navy blue#000080 · hue 240°
  • Blue at 128 of 255, exactly half
  • From HTML 3.2’s 16 colors, based on the Windows VGA palette
  • CSS keyword navy

Meaning

  • Oxford rowing
  • Police
  • Formal wear
  • Web color

Dark blue reads as serious, steady and formal: the color of uniforms, suits and old-university sport. Most of its meanings come from that use rather than from the shade itself. Research on color and mood tests broad words such as blue, or brightness and saturation, not dark blue, so the claims here are about history and naming.

Oxford’s Dark Blues

Historical record

At the first Boat Race, in 1829, Oxford rowed in dark blue striped jerseys. Charles Wordsworth, who chose the kit with a crewmate, later explained that they copied the jersey of Christ Church, the college that supplied much of the crew, “only with a broader and darker blue, instead of black, stripe. Hence the origin of the ‘Dark Blues.’”1, 2

The boys in blue

Historical record

London’s Metropolitan Police, founded in 1829, wore blue tailcoats so that officers would look civilian rather than military, unlike the army’s red coats. British police have kept a very dark blue, almost black, as the base color of their uniforms ever since, which earned them the nickname “the boys in blue”.3, 4

People picture it darker

Online survey

In the 2010 xkcd survey, people’s average dark blue came out as #00035B, far darker than the CSS color and close to their average navy blue, #001146. Their “very dark blue” was almost black, #000133. The survey ran online on uncalibrated screens, so read it as a rough guide.5

Sources (5)
  1. Wordsworth, C. (1891). Annals of My Early Life, 1806–1846. London: Longmans, pp. 59–60, including his letter on the crew’s uniform of “dark blue striped jerseys”.
  2. Grenfell, F. & Marks, J. (2011). “Origins of the Cambridge Blue”. The Hawks’ Club, Cambridge.
  3. History by the Yard, “175 years ago”, on the first recruits of the Metropolitan Police in 1829.
  4. Wikipedia, “Police uniforms and equipment in the United Kingdom”.
  5. Munroe, R. (2010). “Color survey results”, xkcd blog. The survey’s color averages are released as CC0 data.

History

Dark blue became a team color and a uniform color in the same year, 1829. Its web code arrived much later, from a list written for Unix screens.

  1. 1829

    On 10 June, at the first Boat Race, Oxford rows in dark blue and white striped shirts, in honor of Christ Church, the leading college crew of the day.1, 2

  2. 1829

    In September, the first recruits of London’s new Metropolitan Police are fitted with blue tailcoats and top hats, chosen to look civilian rather than military.3

  3. 1839

    Cambridge adopts light blue for the Boat Race. From then on the crews are the Dark Blues and the Light Blues.2

  4. 1891

    Charles Wordsworth, Oxford’s 1829 oarsman, writes that his crew’s darker blue stripe was “the origin of the ‘Dark Blues’”.1

  5. 1955

    The ISCC-NBS dictionary of color names gives the name “dark blue” to one of its color groups, a grayer, greener blue than the web’s, centered on #00304E.4

  6. 1997

    HTML 3.2 names 16 colors, picked from the Windows VGA palette. Its navy, #000080, is a touch darker than X11’s dark blue.5

  7. 2001

    SVG 1.0 lists darkblue among its color keywords, at RGB 0, 0, 139, bringing the X11 name to the web.6

  8. 2010

    In the xkcd color survey, people’s average dark blue comes out as #00035B, much darker than the web’s.7

Sources (7)
  1. Wordsworth, C. (1891). Annals of My Early Life, 1806–1846. London: Longmans, pp. 59–60.
  2. Grenfell, F. & Marks, J. (2011). “Origins of the Cambridge Blue”. The Hawks’ Club, Cambridge.
  3. History by the Yard, “175 years ago”.
  4. Jaffer, A. “Color-Name Dictionaries”, with the ISCC-NBS centroids, MIT CSAIL; after Kelly, K. L. & Judd, D. B. (1955), The ISCC-NBS Method of Designating Colors and a Dictionary of Color Names, NBS Circular 553.
  5. W3C (1997). HTML 3.2 Reference Specification, color names (“originally picked as being the standard 16 colors supported with the Windows VGA palette”).
  6. W3C (2001). Scalable Vector Graphics (SVG) 1.0 Specification, recognized color keyword names.
  7. Munroe, R. (2010). “The 954 most common RGB monitor colors”, xkcd color survey (CC0).

Dark blue in use

A tall porcelain bottle vase with a round body and a long narrow neck, covered in a glossy, very dark blue glaze, on a gray background
#2D2C41#16132E#151220#0B081A
CeramicBlue bottle vase, China (1736–95)

A tall porcelain vase from the reign of the Qianlong emperor, glazed a single deep blue. In the museum photo the glaze reads close to black, about #151220, with a violet-blue glow only where the light catches it: darker than any web dark blue, and close to the very dark blue above.

#2D2C41#16132E#151220#0B081A
Source: Cleveland Museum of Art
A round porcelain dish with a scalloped rim and a deep blue border decorated with gold scrolls, framing a white center painted with two birds by a flowering branch
#0E0243#070139#A29278#847254
PorcelainFooted dish, Sèvres (1786)

A dish for a dessert or tea service from the Sèvres porcelain factory, with a deep blue border under gilded scrolls and two birds painted after engravings in Buffon’s Natural History of Birds. The blue ground reads about #0E0243 in the photo: very dark and slightly violet, set off by gold around #A29278.

#0E0243#070139#A29278#847254
Source: Cleveland Museum of Art

Palettes are sampled in-house.

Questions

What color is dark blue?

A deep, pure blue. The CSS color darkblue is #00008B (RGB 0, 0, 139): blue at a little over half strength, with no red or green.

What is the difference between dark blue and navy blue?

Very little. CSS navy (#000080) has blue at 128 of 255, and darkblue (#00008B) at 139, so navy is a touch darker. They come from different color lists, HTML 3.2 and X11.

Is dark blue the same as midnight blue?

No. Midnight blue (#191970) mixes in a little red and green, which makes it grayer and slightly purple. Dark blue is pure blue.

Why are Oxford called the Dark Blues?

At the first Boat Race in 1829, Oxford rowed in jerseys with a broad dark blue stripe, copied from Christ Church college. Cambridge took light blue a few years later.

Why do police wear dark blue?

London’s first modern police, in 1829, wore blue so they would not look like soldiers in red. British police uniforms have stayed a very dark blue, almost black, ever since.

Can you put white text on dark blue?

Yes. White on #00008B has a contrast ratio of about 15 to 1, far above what accessibility guidelines ask for.

What colors go with dark blue?

Gold and cream for a formal look, white for crisp contrast, light blue for a calm two-tone, and orange or coral for energy.