HomeColor Encyclopedia
Blue · 💻 CSS

Midnightblue

#191970

A deep vivid blue with cool undertones. CSS standard color "midnightblue", widely used in web design and development.

Generate palette with this color →

Emotion & Mood

Emotion
MysteriousVibrantCool
Mood
IntenseContemplative

Personality & Symbolism

ConfidentStrongAssertive
Recommended Use

Suitable for accent colors and attention-grabbing elements.

Color Harmonies

Complementary
#191970
+
#717119
Split Complementary
#714519
#191970
#457119
Darker Shades
Lighter Tints

Visual Analysis

Hue240°
Saturation64%
Lightness27%
This is a dark color with high saturation. It falls in the blue hue family (240°).

Technical Values

HEX#191970
RGBrgb(25, 25, 112)
HSLhsl(240, 64%, 27%)
CMYK78%, 78%, 0%, 56%
ContrastDark
CSSbackground: #191970;

Accessibility — WCAG Contrast

White Text Sample
The quick brown fox jumps.
14.85:1
AA AAA
Black Text Sample
The quick brown fox jumps.
1.41:1
AA AAA

WCAG 2.1 requires a contrast ratio of ≥4.5:1 for AA (normal text) and ≥7:1 for AAA. Best text color for this background: white (#FFFFFF).

Color Psychology

Color Temperature

This cool-toned color (hue 240°) evokes feelings of calm, trust, and intellectual focus. Cool colors tend to recede visually, creating depth and spaciousness in layouts.

Visual Weight

At 27% lightness, this color carries substantial visual weight. Dark colors add perceived importance and gravity to elements. Research shows dark elements are perceived as 10-30% heavier.

Saturation Impact

The high saturation (64%) creates a vibrant, attention-demanding presence. Highly saturated colors are processed faster by the human brain — reaction time decreases by approximately 50ms compared to desaturated variants.

Design Applications

Corporate & Enterprise

Communicates trust and professionalism — the top choice for corporate sites, legal firms, and B2B SaaS.

Government & Institutions

Authority and dependability — frequently used for government portals, educational institutions, and official communications.

Dark Theme & UI

Deep tones reduce eye strain in dark mode — perfect for code editors, media players, and night-mode interfaces.

CTAs & Accents

High saturation draws attention — use for primary buttons, notification badges, and important interactive elements.

Similar Colors

Midnight Blue
#01011E
Midnight Blue (Dark Sapphire)
#0A0A1B
Light Purple-Grayish
#A6A6EA
Blue
#0000FF
Darkblue
#00008B
Ghostwhite
#F8F8FF
Lavender
#E6E6FA
Deep Cobalt Blue
#0201BE