Midnight Green (#004953)

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: 10.11:1 — vs black: 2.08:1

Color values

  • HEX #004953
  • RGB rgb(0, 73, 83)
  • HSL hsl(187, 100%, 32%)
  • CMYK cmyk( 100, 12.05, 0, 67.45 )
  • Websafe #003366

Tags

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

Color Harmonies

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

Complementary

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

Midnight Green
#004953 Base
#530A00
Analogous

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

Midnight Green
#004953 Base
#005333
#002053
Triadic

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

Midnight Green
#004953 Base
#530049
#495300
Split-Complementary

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

Midnight Green
#004953 Base
#530020
#533300
Tetradic (Square)

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

Midnight Green
#004953 Base
#330053
#530A00
#205300
Monochromatic

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

Midnight Green
#004953 Base
#00161A
#00252A
#006D7C
#008C9F
#00D0EC
Shades & Tints

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

Shades (darker)

#00161A
#002125
#002B31
#00353C
#003F48
Midnight Green #004953 Base
#0090A3
#00D6F4
#45E9FF
#95F2FF
#E6FCFF
CSS & SCSS Snippets

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

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

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

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

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #004953,
        #A61400
    );
}
SCSS Variable
// SCSS variable
$midnight-green: #004953;

// With RGB channels (useful for rgba() usage)
$midnight-green-r: 0;
$midnight-green-g: 73;
$midnight-green-b: 83;

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

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

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

Midnight Green #004953 Base
Japanese Indigo #264348 ΔE 5.62
Warm Black #004242 ΔE 5.62
Rich Black #004040 ΔE 5.85
Dark Slate Gray #2F4F4F ΔE 6.39

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.