TintShelf
Interface

Dark Blue Color Code: Hex #00008B

The hex code for Dark Blue is #00008B (the CSS keyword darkblue). Dark Blue RGB code: rgb(0, 0, 139). The xkcd color survey gives #00035B instead, which looks slightly different; both codes are below with their source.

CSS Color 4#00008BTop: the code browsers use
xkcd color survey#00035BBelow: compare edge to edge

Dark Blue color codes: each Dark Blue hex code in every format

HEX#00008B
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27%)
OKLCHoklch(28.8% 0.199 264.1)
LABlab(13.0 43.5 -71.3)
CMYKcmyk(100%, 100%, 0%, 45%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
3 different ones in 3 color lists; they look clearly different
Family
blue
Contrast
15.30:1 with white, 1.37:1 with black
CSS keyword
darkblue
Character
very dark, vivid
Readable text on it
white (AA)

A very dark, vivid blue with a cool cast. In code, darkblue gives exactly this web value. If you mean the color as people usually picture the name, the survey value #00035B is closer: it is darker and more muted.

White text reads best on it; black text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Navy, its closest named neighbour, it looks about as light, more vivid and neither warmer nor cooler; beside Midnight Blue it looks about as light, more vivid and cooler. It is one of the darkest of the blue family here.

Colors that go with Dark Blue

Complementary: the opposite of Dark Blue

Open in generator

  • #00008BWhite text 15.30:1
  • #382800White text 14.27:1
  • #6181C5Black text 5.45:1
  • #1F1400White text 18.13:1

Analogous

Open in generator

  • #002F44White text 14.09:1
  • #00008BWhite text 15.30:1
  • #34006FWhite text 15.27:1
  • #8AA3D6Black text 8.29:1

Triadic

Open in generator

  • #00008BWhite text 15.30:1
  • #57000AWhite text 14.90:1
  • #003605White text 13.73:1
  • #B4C5E6Black text 12.07:1

Monochrome

Open in generator

  • #000023White text 20.50:1
  • #000054White text 18.62:1
  • #00008BWhite text 15.30:1
  • #3A5FB2White text 6.07:1
  • #8AA3D6Black text 8.29:1

With neutrals

Open in generator

  • #00008BWhite text 15.30:1
  • #B4C5E6Black text 12.07:1
  • #00000DWhite text 20.88:1
  • #546588White text 5.84:1

How tints, shades and harmonies are calculated

Preview

Heading on Dark Blue

Body text on this color, 15.30:1.

Button

Heading in Dark Blue

Text in this color on white, 15.30:1.

Button

Tints and shades

  1. #B4C5E6
  2. #8AA3D6
  3. #6181C5
  4. #3A5FB2
  5. #143A9F
  6. #00008B
  7. #00006F
  8. #000054
  9. #00003A
  10. #000023
  11. #00000D

WhiteDark BlueBlack

Similar named colors

Lists and sources

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.