Dark Blue color #00008B
Dark Blue is one of the CSS named colors (keyword darkblue) with the hex code #00008B — RGB 0, 0, 139, HSL 240°, 100%, 27%.
#00008BDark Blue
Color codes
- HEX
#00008B- RGB
rgb(0, 0, 139)- HSL
hsl(240, 100%, 27%)- CMYK
100%, 100%, 0%, 45%- OKLCH
oklch(28.8% 0.199 264.1)- CSS keyword
darkblue
Tints and shades
#F0F5FF#C8DBFF#A0BFFF#77A3FF#4F84FF#3569E7#1F4FCB#0933AF#001690#000067#000037
Color harmonies
Complementary
#00008B#392800
Analogous
#002F44#00008B#34006F
Triadic
#00008B#570009#003605
Split complementary
#00008B#451F00#2B2E00
Tetradic
#00008B#53002F#392800#003329
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Dark Blue text on white | 15.30 : 1 | 100 | AAA — any text |
| Dark Blue text on black | 1.37 : 1 | 0 | Fails for text |
| White text on Dark Blue | 15.30 : 1 | -103 | AAA — any text |
| Black text on Dark Blue | 1.37 : 1 | 0 | Fails for text |
Frequently asked questions
What is the hex code of Dark Blue?
Dark Blue has the hex code #00008B, which is RGB 0, 0, 139 and HSL 240°, 100%, 27%.
Which text color reads best on Dark Blue?
White text: contrast 15.30 : 1 (black text: 1.37 : 1).
Which colors go well with Dark Blue?
Its complementary color is #392800; analogous colors are #002F44 and #34006F; a triadic set adds #570009 and #003605.
Similar colors
- Navy #000080
- Royal #0C1793
- Dark Royal Blue #02066F
- Cobalt Blue #030AA7
- Midnight Blue #191970
- Ultramarine #2000B1
- Marine #042E60
- Dark Indigo #1F0954
- Marine Blue #01386A
- Indigo Blue #3A18B1
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)