Dark Blue (#00008B)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 15.30:1 — vs black: 1.37:1

Color values

  • HEX #00008B
  • RGB rgb(0, 0, 139)
  • HSL hsl(240, 100%, 54%)
  • CMYK cmyk( 100, 100, 0, 45.49 )
  • Websafe #000099

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #00008B based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Dark Blue
#00008B Base
#8B8B00
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Dark Blue
#00008B Base
#00458B
#45008B
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Dark Blue
#00008B Base
Dark Red
#8B0000
#008B00
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Dark Blue
#00008B Base
#8B4500
#458B00
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Dark Blue
#00008B Base
#8B0045
#8B8B00
#008B45
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Dark Blue
#00008B Base
#00001A
#00003E
#000062
#0000B4
#0000D7
#2525FF
Shades & Tints

Darker shades and lighter tints of Dark Blue, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#00001A
#000030
#000047
#00005E
#000074
Dark Blue #00008B Base
#0000D0
#1616FF
#5B5BFF
#A0A0FF
#E6E6FF
CSS & SCSS Snippets

Ready-to-use code snippets for #00008B. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #00008B;
}

/* Text */
.element {
    color: #00008B;
}

/* Border */
.element {
    border: 1px solid #00008B;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #00008B,
        #FFFF17
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #00008B,
        #FFFF17
    );
}
SCSS Variable
// SCSS variable
$dark-blue: #00008B;

// With RGB channels (useful for rgba() usage)
$dark-blue-r: 0;
$dark-blue-g: 0;
$dark-blue-b: 139;

// Usage
.element {
    background-color: $dark-blue;
    color: rgba($dark-blue-r, $dark-blue-g, $dark-blue-b, 0.8);
}
Color Blindness Simulation

How Dark Blue appears to people with different types of color vision deficiency.

Normal Vision #00008B How the color appears with full color vision.
Deuteranopia #00008B Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #00008B Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #003333 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #252525 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Dark Blue ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Dark Blue #00008B Base
Navy Blue #000080 ΔE 1.56
Ultramarine #120A8F ΔE 1.68
Phthalo Blue #000F89 ΔE 2.13
Duke Blue #00009C ΔE 2.34

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.