#00008B

DarkBlue — Color Codes & Palette

#00008B  ·  rgb(0, 0, 139)  ·  hsl(240, 100%, 27%)

Color Codes

Format Value
HEX #00008B
RGB rgb(0, 0, 139)
HSL hsl(240, 100%, 27%)

Shades of DarkBlue

#00007A#00006B#00005C#00004D#00003D#00002E#00001F#00000F

Tints of DarkBlue

#0000B3#0000DB#0505FF#2E2EFF#5757FF#8080FF#A8A8FF#D1D1FF

Color Pairings & Harmony

Complementary
#8A8A00
Analogous +30°
#45008A
Analogous −30°
#00458A
Triadic +120°
#8A0000
Triadic −120°
#008A00

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
15.30:1 — AAA pass for normal text
vs. Black (#000000)
1.37:1 — Fail

CSS Snippet

.element {
  color: #00008B;
}

.element-bg {
  background-color: #00008B;
  color: #ffffff;
}

.element-border {
  border: 2px solid #00008B;
}

About DarkBlue

DarkBlue is a dark color with vivid, highly saturated, defined by the hex code #00008B. Its exact color model values are rgb(0, 0, 139) in RGB and hsl(240, 100%, 27%) in HSL (hue 240°, saturation 100%, lightness 27%). On a white background the contrast ratio is 15.30:1 — AAA pass for normal text, and on black it is 1.37:1 — Fail. Use DarkBlue for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of DarkBlue?
The RGB value of DarkBlue (#00008B) is rgb(0, 0, 139). Red = rgb(0, 0, 139), representing the amounts of red, green, and blue light on a 0–255 scale.
Is DarkBlue accessible on a white background?
The contrast ratio of DarkBlue on white (#FFFFFF) is 15.30:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 1.37:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with DarkBlue?
Based on color theory, DarkBlue (hsl(240, 100%, 27%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.