AfoliOpen Afoli →

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%.

Open in Afoli Colour tools →

#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

PairWCAG 2.x ratioAPCA LcResult
Dark Blue text on white15.30 : 1100AAA — any text
Dark Blue text on black1.37 : 10Fails for text
White text on Dark Blue15.30 : 1-103AAA — any text
Black text on Dark Blue1.37 : 10Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large 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

Sources and licences

Updated November 21, 2026