Midnight Blue (#191970)

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: 14.85:1 — vs black: 1.41:1

Color values

  • HEX #191970
  • RGB rgb(25, 25, 112)
  • HSL hsl(240, 77%, 43%)
  • CMYK cmyk( 77.68, 77.68, 0, 56.08 )
  • Websafe #000066

Tags

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

Color Harmonies

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

Complementary

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

Midnight Blue
#191970 Base
#707019
Analogous

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

Midnight Blue
#191970 Base
#194470
#441970
Triadic

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

Midnight Blue
#191970 Base
#701919
#197019
Split-Complementary

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

Midnight Blue
#191970 Base
#704419
#447019
Tetradic (Square)

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

Midnight Blue
#191970 Base
#701944
#707019
#197044
Monochromatic

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

Midnight Blue
#191970 Base
#050515
#0B0B31
#12124F
#202091
#2727AF
#4B4BD7
Shades & Tints

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

Shades (darker)

#050515
#090927
#0D0D39
#11114C
#15155E
Midnight Blue #191970 Base
#2626A9
#4040D4
#7979E1
#B1B1EE
#EAEAFA
CSS & SCSS Snippets

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

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

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

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

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

// With RGB channels (useful for rgba() usage)
$midnight-blue-r: 25;
$midnight-blue-g: 25;
$midnight-blue-b: 112;

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

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

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

Midnight Blue #191970 Base
Persian Indigo #32127A ΔE 4.33
Saint Patrick Blue #23297A ΔE 4.44
Resolution Blue #002387 ΔE 4.49
Phthalo Blue #000F89 ΔE 4.64

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.