Dark Midnight Blue (#003366)

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: 12.61:1 — vs black: 1.67:1

Color values

  • HEX #003366
  • RGB rgb(0, 51, 102)
  • HSL hsl(210, 100%, 40%)
  • CMYK cmyk( 100, 50, 0, 60 )
  • Websafe #003366

Tags

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

Color Harmonies

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

Complementary

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

Dark Midnight Blue
#003366 Base
#663300
Analogous

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

Dark Midnight Blue
#003366 Base
#006666
#000066
Triadic

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

Dark Midnight Blue
#003366 Base
#660033
#336600
Split-Complementary

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

Dark Midnight Blue
#003366 Base
#660000
#666600
Tetradic (Square)

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

Dark Midnight Blue
#003366 Base
#660066
#663300
Pakistan Green
#006600
Monochromatic

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

Dark Midnight Blue
#003366 Base
#000D1A
#001F3D
#00478F
#0059B3
#0080FF
Shades & Tints

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

Shades (darker)

#000D1A
#001429
#001C38
#002447
#002B57
Dark Midnight Blue #003366 Base
#0059B3
#0080FF
#4DA6FF
#99CCFF
#E6F2FF
CSS & SCSS Snippets

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

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

/* Text */
.element {
    color: #003366;
}

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

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

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

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

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

Normal Vision #003366 How the color appears with full color vision.
Deuteranopia #2A2A66 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 #303066 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #003C3C Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #333333 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 Midnight Blue ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Dark Midnight Blue #003366 Base
Cool Black #002E63 ΔE 1.81
Prussian Blue #003153 ΔE 3.70
Dark Imperial Blue #00416A ΔE 5.68
Catalina Blue #062A78 ΔE 5.75

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.