Dark Blue color values
| Format | Value |
|---|---|
| Hex | #00008B |
| RGB | rgb(0, 0, 139) |
| HSL | hsl(240, 100%, 27%) |
| HSV | 240, 100%, 55% |
| CMYK (simple conversion) | 100%, 100%, 0%, 45% |
| Decimal | 139 |
CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.
About Dark Blue
Dark blue is a deep, navy style shade that absorbs much of the lightness found in standard blue. It projects professionalism and stability, making it a favorite for financial and corporate websites. The color also mirrors the appearance of the night sky. It is one of the 148 CSS named colors.
Shades and tints of Dark Blue
Tints mix Dark Blue with white and shades mix it with black. Each step changes the color by 10 percentage points.
| Step | Tint (towards white) | Shade (towards black) |
|---|---|---|
| 10% | #1A1A97 | #00007D |
| 20% | #3333A2 | #00006F |
| 30% | #4D4DAE | #000061 |
| 40% | #6666B9 | #000053 |
| 50% | #8080C5 | #000046 |
Color harmony for Dark Blue
These colors keep the same saturation and lightness as Dark Blue and rotate the hue around the color wheel.
| Scheme | Colors |
|---|---|
| Complementary | #8B8B00 |
| Analogous | #00468B #46008B |
| Triadic | #8B0000 #008B00 |
| Split complementary | #8B4600 #468B00 |
Contrast and accessibility
Contrast between #00008B and white is 15.30:1 (passes AAA). Against black it is 1.37:1 (fails). For text on a Dark Blue background, white text is the more readable choice.
Use Dark Blue in CSS
.element {
color: darkblue;
background-color: #00008B;
border-color: rgb(0 0 139);
outline-color: hsl(240 100% 27%);
}All four lines produce exactly the same color. The keyword darkblue is one of the CSS named colors, so it works in every browser without a color function.
Similar named colors
- Navy: #000080
- midnightblue: #191970
- mediumblue: #0000CD
- Indigo: #4B0082
FAQ
What is the hex code for Dark Blue?
The hex code for Dark Blue is #00008B. As a CSS color keyword you can also write darkblue.
What is Dark Blue in RGB?
Dark Blue is rgb(0, 0, 139): red 0, green 0, blue 139 on the 0 to 255 scale.
What color is closest to Dark Blue?
Of the CSS named colors, navy (#000080) is the closest match to Dark Blue, followed by midnightblue and mediumblue.
More colors
- Cyan: previous page
- Dark Cyan: next page
- CSS named colors: the full list