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.
#00008BTop: the code browsers use#00035BBelow: compare edge to edgeDark Blue color codes: each Dark Blue hex code in every format
Sources
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
#00008BWhite text 15.30:1#382800White text 14.27:1#6181C5Black text 5.45:1#1F1400White text 18.13:1
Analogous
#002F44White text 14.09:1#00008BWhite text 15.30:1#34006FWhite text 15.27:1#8AA3D6Black text 8.29:1
Triadic
#00008BWhite text 15.30:1#57000AWhite text 14.90:1#003605White text 13.73:1#B4C5E6Black text 12.07:1
Monochrome
#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
#00008BWhite text 15.30:1#B4C5E6Black text 12.07:1#00000DWhite text 20.88:1#546588White text 5.84:1
Preview
Heading on Dark Blue
Body text on this color, 15.30:1.
ButtonHeading in Dark Blue
Text in this color on white, 15.30:1.
ButtonTints and shades
#B4C5E6#8AA3D6#6181C5#3A5FB2#143A9F#00008B#00006F#000054#00003A#000023#00000D
WhiteDark BlueBlack
Similar named colors
Lists and sources
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: