Dark Blue color: hex code #00008B
Dark Blue has the hex code #00008B. It is a dark, vivid blue.
In the RGB color model it is made of 0% red, 0% green and 54.5% blue (0, 0, 139).
Its hue angle is 240°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 45% black.
You can use it in CSS with the keyword darkblue.
White text is the more readable choice on this background (contrast 15.3:1).
Dark Blue (#00008B) color codes
| HEX | #00008B | |
|---|---|---|
| RGB | rgb(0, 0, 139) | |
| RGB percent | rgb(0%, 0%, 54.5%) | |
| HSL | hsl(240, 100%, 27%) | |
| HSV / HSB | hsv(240, 100%, 55%) | |
| CMYK | cmyk(100%, 100%, 0%, 45%) | |
| CIE LAB | lab(14.75, 50.42, -68.68) | |
| CIE LCH | lch(14.75, 85.2, 306.28) | |
| CIE XYZ | xyz(4.659, 1.863, 24.535) | |
| Decimal | 139 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Dark Blue, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #00008B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.3:1 | Pass | Pass | Pass |
| #00008B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.3:1 | Pass | Pass | Pass |
| Sample text | 1.37:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #00008B looks to people with the most common types of color vision deficiency.
#002c8eProtanopia
no red cones#001d89Deuteranopia
no green cones#00374fTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #00008b; }
.text { color: #00008b; }
.border { border: 2px solid #00008b; }
.transparent { background-color: rgb(0 0 139 / 50%); }
.gradient { background: linear-gradient(to right, #00008b, #46008b); }
Similar colors
#000088Midnight in Tokyo#000080Navy Blue#000080Navy#120a8fUltramarine#220088Orbital Kingdom#000099Everlasting Night#240093Dramatic Blue#111188Galactic Cruise
See #00008B on its hex code page
Questions
- What color is #00008B?
- #00008B is a dark, vivid blue known as Dark Blue. It belongs to the blue family of colors.
- What is the RGB value of Dark Blue?
- The RGB value is 0, 0, 139: 0 red, 0 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of Dark Blue?
- The complementary color is #8B8B00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #00008B?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.3:1. WCAG asks for at least 4.5:1 for normal text.