Skip to main content

Midnight Blue meaning and palette guide

HEX

#191970

RGB

25, 25, 112

HSL

240°, 64%, 27%

HSV

240°, 78%, 44%

Near-black with a blue pulse — depth without the harshness of pure black. #191970 reads as night sky and formal wear more than ink. Large areas feel luxurious; small accents feel sharp.

Best for

Conference materials, keynote visuals, and thought-leadership content.

Accessibility

White text on midnight blue passes AAA at 14.85:1, so it is safe for dark backgrounds and section headers.

Midnight Blue color swatch — #191970

How does midnight blue compare to nearby colors?

What is the difference between midnight blue and cobalt?

Cobalt (#0047AB) carries more pigment punch than Midnight Blue (#191970), so the pair separates by finish as much as hue. Midnight Blue is easier to live with across large areas, because it carries less chroma pressure than Cobalt. Choose midnight blue when the family should feel quieter, more material, or easier to live with across a full layout; use cobalt when you need more punch.

What color is midnight blue?

Used in evening fashion, luxury packaging, automotive interiors, and dark-mode interfaces where designers avoid absolute black for a more comfortable feel.

What is the hex code for midnight blue?

FormatValue
HEX#191970
RGBrgb(25, 25, 112)
HSLhsl(240°, 64%, 27%)
HSV / HSBhsv(240°, 78%, 44%)
CMYK (approx.)cmyk(78%, 78%, 0%, 56%)

Convert Midnight Blue to other color formats

Open the color converter with Midnight Blue (#191970) prefilled to copy RGB, HSL, HSV, CMYK, or OKLCH values.

Convert Midnight Blue in the color converter

What does midnight blue mean in design?

Midnight blue is often associated with mystery, elegance, and nighttime calm. Compared with denim or sapphire, it tends to read as darker, more neutral, and less gemstone-bright.

How do I use midnight blue in code?

CSS (hex)color: #191970;
CSS (rgb)color: rgb(25, 25, 112);
CSS (hsl)color: hsl(240, 64%, 27%);
RGB %rgb(10%, 10%, 44%)
Tailwindtext-[#191970]
SwiftUIColor(red: 0.098, green: 0.098, blue: 0.439)
UIKitUIColor(red: 0.098, green: 0.098, blue: 0.439, alpha: 1.0)
AndroidColor.rgb(25, 25, 112)
ComposeColor(0xFF191970)
Web Safe#000066

Is midnight blue accessible?

CombinationRatioAAAA lgAAAAAA lgUI
AaWhite text on this color14.85:1
AaBlack text on this color1.41:1
AaThis color as text on white14.85:1
AaThis color as text on black1.41:1

WCAG 2.1: AA normal ≥ 4.5:1, AA large text ≥ 3:1, AAA normal ≥ 7:1, AAA large ≥ 4.5:1, UI components ≥ 3:1.

How does midnight blue look with color blindness?

Normal vision#191970
Protanopia (red-blind)#19195B
Deuteranopia (green-blind)#191956
Tritanopia (blue-blind)#194A47
Achromatopsia (total color blindness)#1F1F1F

Simulated appearance for common types of color vision deficiency. Actual perception varies by individual.

What colors go with midnight blue

#FFFFFF
White

Pairing midnight blue with white preserves readable hierarchy while keeping the swatch itself as the clear focal color.

#FFD700
Gold

Gold warms midnight blue enough to keep the palette from feeling chilly or overly technical, while still reading intentional rather than decorative-for-its-own-sake.

#FFFDD0
Cream

Cream makes midnight blue feel more tactile and less clinical, especially in layouts that want a paper or fabric quality.

#36454F
Charcoal

Charcoal gives midnight blue a modern dark partner that feels softer and more material than default black.

#C0C0C0
Silver

Silver acts more like structure than spectacle beside midnight blue, which is often exactly what a stronger source color needs.

What colors clash with midnight blue

#39FF14
Neon Green

Neon Green turns midnight blue into something closer to screen glow than surface color, which is a mismatch for most editorial, product, or deck work.

#FF00FF
Magenta

Magenta pushes midnight blue toward a nightclub or cosmetic register that is hard to square with calmer editorial or product work.

#FFA500
Orange

Orange changes the context around midnight blue so quickly that the palette can start looking campaign-specific rather than durable.

#FFD1DC
Pastel Pink

Pastel Pink can undercut midnight blue's authority by turning the combination more decorative than decisive.

How should I use midnight blue in design?

  • Midnight Blue works well as a dark background with light text, or as a bold accent for headlines and callout bars in presentations and branded materials.
  • Warm touches like gold or coral bring out midnight blue's cooler character by contrast, while staying with cool neighbors creates a calmer, more unified feel.
  • Midnight Blue is a safe choice for corporate decks, SaaS dashboards, and enterprise UI — contexts where trustworthiness is the first design requirement.

What are good midnight blue palettes?

Ink and gold

Conference materials, keynote visuals, and thought-leadership content.

Whitespace

Portfolio sites, creative briefs, and lookbooks.

Focused authority

SaaS dashboards, admin panels, and professional UI themes.

Design with midnight blue in Moda

Create a presentation or document using midnight blue as your accent color. Moda's AI applies your color palette automatically.

Create a design with midnight blue

What are the shades and tints of midnight blue?

Shades (darker)

Tints (lighter)

Tones (desaturated)

Hue variations

What are the color harmonies for midnight blue?

Harmonies are calculated from the base swatch. When a harmony matches a named color page, it links there; otherwise it appears here as a computed reference swatch.

Complementary
Dark Yellow#717119Computed
Analogous
Dark Purple#451971ComputedDark Blue#194571Computed
Triadic
Dark Red#711919ComputedDark Green#197119Computed
Split-complementary
Dark Orange#714519ComputedDark Green#457119Computed
Monochromatic
Dark Blue#121254ComputedBlue#2525A7ComputedBlue#5858DAComputedLight Blue#ABABEDComputed
Square
Dark Red#711945ComputedDark Yellow#717119ComputedDark Cyan#197145Computed

Frequently asked questions

What is the hex code for midnight blue?

The hex code for midnight blue is #191970. In RGB, that's 25 red, 25 green, and 112 blue. The approximate CMYK equivalent is 78% cyan, 78% magenta, 0% yellow, and 56% key (black).

Is midnight blue a warm or cool color?

Midnight Blue falls on the cool side of the palette, so warm companions create the clearest contrast while other cool tones keep the system more restrained.

Is midnight blue better for accents, structure, or surfaces?

Midnight Blue sits in the usable middle: strong enough to anchor a section or call attention to a key moment, but calm enough to support a broader system when the surrounding values are well managed.

Where does midnight blue work best in a layout?

Midnight Blue has enough depth to anchor a layout while still reading as a color, which makes it useful for dark section blocks, headlines, and heavier accents.

Is midnight blue accessible?

Midnight Blue is strong enough for white text at 14.85:1 contrast, so it can handle dark panels, tags, and section headers without much trouble. As text on white, though, it is usually better reserved for larger headings or short accents than for long paragraphs.

Last updated April 6, 2026

Color values are computed from the listed hex code using standard conversion formulas. RGB, HSL, and HSV are exact screen-ready conversions. CMYK is an approximate on-screen reference, not a press-ready print specification. Pairings, palettes, and use-case guidance are heuristic recommendations derived from color relationships, contrast behavior, and common presentation, document, and UI patterns.