Rich Black (#004040)

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: 11.62:1 — vs black: 1.81:1

Color values

  • HEX #004040
  • RGB rgb(0, 64, 64)
  • HSL hsl(180, 100%, 25%)
  • CMYK cmyk( 100, 0, 0, 74.9 )
  • Websafe #003333

Tags

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

Color Harmonies

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

Complementary

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

Rich Black
#004040 Base
#400000
Analogous

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

Rich Black
#004040 Base
#004020
#002040
Triadic

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

Rich Black
#004040 Base
#400040
#404000
Split-Complementary

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

Rich Black
#004040 Base
#400020
#402000
Tetradic (Square)

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

Rich Black
#004040 Base
#200040
#400000
#204000
Monochromatic

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

Rich Black
#004040 Base
#001A1A
#006969
#008C8C
#00D9D9
Shades & Tints

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

Shades (darker)

#001A1A
#002121
#002929
#003131
#003838
Rich Black #004040 Base
#009494
#00E8E8
#3DFFFF
#91FFFF
#E6FFFF
CSS & SCSS Snippets

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

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

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

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

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #004040,
        #800000
    );
}
SCSS Variable
// SCSS variable
$rich-black: #004040;

// With RGB channels (useful for rgba() usage)
$rich-black-r: 0;
$rich-black-g: 64;
$rich-black-b: 64;

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

How Rich Black appears to people with different types of color vision deficiency.

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

Rich Black #004040 Base
Warm Black #004242 ΔE 0.63
Deep Jungle Green #004B49 ΔE 3.69
MSU Green #18453B ΔE 5.26
Midnight Green #004953 ΔE 5.85

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.