Tints & Shades
50
100
200
300
400
500
600
700
800
900
Scale from white (50) through Midnight Blue (500) to black (900), interpolated in Lab color space.
Color Values
- HEX
- #191970
- RGB
- rgb(25, 25, 112)
- HSL
- hsl(240, 64%, 27%)
- OKLCH
- oklch(0.288 0.144 273)
- CMYK
- cmyk(78%, 78%, 0%, 56%)
--color-midnight-bluebg-[#191970]Accessibility
Score: 96/100On White (#FFF)
14.85:1
On Black (#000)
1.41:1
On Light Gray (#F5F5F5)
13.62:1
Best text color on this background:
Design Applications
background-color: #191970
color: #191970
bg-[#191970] text-[#FFFFFF]
border-left: 4px solid #191970
Color Harmonies
Similar Colors
Color Meaning & Psychology
Blue is the world's most universally preferred color across cultures. It slows respiration, lowers blood pressure, and promotes calm — the physiological opposite of red. Blue's associations with sky and water make it feel limitless, trustworthy, and reliable. In corporate design, blue dominates banking, insurance, healthcare, and technology precisely because it communicates stability. Dark navy conveys authority and tradition; royal blues suggest quality and aspiration; sky blues feel open and optimistic; teal bridges trust with modernity. The primary limitation of blue is food — it suppresses appetite, with almost no naturally blue foods existing in nature. Its deeper, richer tone gives it gravitas and sophistication, making it well-suited for primary brand colors, typography, and contexts where authority matters.
Industry Usage
Common contexts and industries where Midnight Blue is applied in professional design.
- Banking, insurance, and financial institutions
- Healthcare and medical device companies
- Enterprise software and SaaS platforms
- Government and public sector organizations
- Airlines and aviation brands
- Communication and social networking apps
- Cybersecurity and data protection products
- Pharmaceutical companies and clinical products
Accessibility Considerations
Normal Text
Passes AA
4.5:1 minimum required
Large Text
Passes AA Large
3:1 minimum required
UI Components
Meets 1.4.11
3:1 for non-text UI
Midnight Blue is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (14.85:1). Avoid small black text on this background.
CSS & Code Examples
Background
background-color: #191970;Text
color: #191970;Border
border: 2px solid #191970;Box Shadow
box-shadow: 0 4px 20px #19197040;Gradient
background: linear-gradient(135deg, #191970, #4f419f);Tailwind-style
--color-midnight-blue: #191970;Tailwind CSS Utilities
Use arbitrary value syntax in Tailwind CSS to apply Midnight Blue without a custom config.
Background
bg-[#191970]Text
text-[#191970]Border
border-[#191970]Ring
ring-[#191970]Fill
fill-[#191970]From (gradient)
from-[#191970]Via (gradient)
via-[#191970]To (gradient)
to-[#191970]Design Tokens
Ready-to-use Midnight Blue design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.
CSS Custom Properties
:root {
--color-midnight-blue: #191970;
--color-midnight-blue-rgb: 25, 25, 112;
--color-midnight-blue-hsl: 240, 64%, 27%;
}SCSS Variables
$color-midnight-blue: #191970; $color-midnight-blue-rgb: 25, 25, 112; $color-midnight-blue-hsl: 240, 64%, 27%;
Tailwind v3 Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'midnight-blue': '#191970',
},
},
},
};Tailwind v4 (@theme)
/* tailwind.css */
@theme {
--color-midnight-blue: #191970;
}JSON Design Token (W3C format)
{
"midnight-blue": {
"value": "#191970",
"type": "color",
"description": "Midnight Blue — #191970"
}
}Related Palettes & Combinations
Color Combinations
Accessible Color Pairs
More blue colors
View all →What Does Midnight Blue Mean? Color Psychology & Cultural Symbolism
Blue is the world's most preferred color across gender, age, and culture—a distinction that reflects its deep psychological function. Midnight Blue (#191970) distills this heritage into calm: a quality the human brain processes as fundamentally safe, competent, and reliable.
- Blue is the most universally trusted color in Western design—associated with authority (government, police, corporate), intelligence (universities, technology), and emotional calm (water, sky). It's the dominant color in corporate branding precisely because it creates immediate credibility.
- In Chinese tradition, blue represents immortality and the heavens, associated with the element of wood and spring vitality. In many Islamic cultures, blue offers protection from evil (the "evil eye" tradition), and in Indian traditions it's associated with divinity (Krishna).
- Midnight Blue's deep lightness (27%) shifts its psychological register: Navy and deep blues project gravitas, authority, and executive-level trust—the dominant choice for financial services, law firms, and premium B2B brands.
- At 64% saturation, Midnight Blue reads as moderately saturated—neither overwhelming nor passive, landing in the trust, reliability, calm, and professionalism zone with measured confidence.
The power of Midnight Blue is quiet consistency. It builds trust cumulatively, appearing wherever credibility matters.
How to Use Midnight Blue in Design: Applications, Pairings & Best Practices
The design challenge with Midnight Blue is differentiation: every major institution uses blue. The answer lies in tone, proportion, and pairing—how a specific blue is used matters more than whether it's used.
- UI components: primary brand color, link color, interactive states—Midnight Blue performs reliably in all these roles with its deep tonal character.
- Brand & identity: corporate identity, banking and finance UIs, healthcare platforms—contexts where Midnight Blue's moderately saturated quality creates the right register.
- Typography: Midnight Blue works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.
- As a dark tone, Midnight Blue creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
- Proportional use: Midnight Blue's moderately saturated saturation (64%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
The power of Midnight Blue is quiet consistency. It builds trust cumulatively, appearing wherever credibility matters.
Midnight Blue Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design
Midnight Blue (#191970) achieves a 14.85:1 contrast ratio with white text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 2.1%.
- As text on white (#FFFFFF): 14.85:1 — AAA ✓
- As text on black (#000000): 1.41:1 — Fail
- Best text color on Midnight Blue background: White (#FFFFFF) at 14.85:1
- WCAG 2.1 luminance: 2.1% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
- Midnight Blue qualifies for all text sizes including small body copy (AAA).
- Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.
For production use, test Midnight Blue against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.
Midnight Blue in Industry: Branding, Design & Market Applications
Midnight Blue (#191970) is most at home in industries where trust, reliability, calm, and professionalism are key brand values. Its deep quality makes it particularly effective in Finance & Banking contexts, where the moderately saturated saturation signals professionalism at exactly the right register.
- Finance & Banking: Blue is the most trusted color in financial services—a global design convention built over decades. It signals fiduciary reliability, stability, and the conservative stewardship that depositors and investors need to feel comfortable transferring wealth. (examples: Capital One, PayPal, Visa) Dark navy communicates established tradition; mid-tone blues suggest accessible, modern banking. Avoid pure bright blue for legacy institutions.
- Technology: Technology brands use blue to communicate intelligence, reliability, and forward-thinking professionalism. From legacy enterprise software to consumer apps, blue provides a neutral credibility that scales across markets and cultures. (examples: Apple, Microsoft, Salesforce) Varying the tone of blue is how tech brands differentiate: sky blue for friendliness (consumer apps), royal blue for confidence (productivity tools), navy for enterprise seriousness.
- Healthcare: Healthcare's use of blue is a trust transfer from corporate credibility to clinical reliability. Patients associate blue with cleanliness, precision, and medical competence—making it the second most common healthcare color after white. (examples: CVS Health, Mayo Clinic, Kaiser Permanente) Teal-blue works particularly well for health tech and telemedicine, balancing clinical trust with digital accessibility.
- Brand positioning: Midnight Blue is best suited for brands projecting trustworthiness, reliability, professionalism. Categories outside this positioning—food contexts where it suppresses appetite (the only major color with no natural blue foods)—tend to see weaker results.
- Adjacent applications: Beyond primary industries, Midnight Blue works effectively in corporate identity, banking and finance UIs, healthcare platforms—contexts where professionalism serves a secondary but reinforcing role.
The industries where Midnight Blue performs best are those where the audience expects professionalism. Build brand strategy around this alignment, not against it.
Accessibility & Design Guides
Frequently Asked Questions
- What is the hex code for Midnight Blue? ▾
- The hex code for Midnight Blue is #191970. Its RGB values are rgb(25, 25, 112) and its HSL values are hsl(240, 64%, 27%).
- What does Midnight Blue mean in design? ▾
- Blue is the world's most universally preferred color across cultures. It slows respiration, lowers blood pressure, and promotes calm — the physiological opposite of red. Blue's associations with sky and water make it feel limitless, trustworthy, and reliable. In corporate design, blue dominates banking, insurance, healthcare, and technology precisely because it communicates stability. Dark navy conveys authority and tradition; royal blues suggest quality and aspiration; sky blues feel open and optimistic; teal bridges trust with modernity. The primary limitation of blue is food — it suppresses appetite, with almost no naturally blue foods existing in nature. Its deeper, richer tone gives it gravitas and sophistication, making it well-suited for primary brand colors, typography, and contexts where authority matters.
- Is Midnight Blue WCAG accessible? ▾
- Midnight Blue (#191970) passes WCAG AAA on white with a 14.85:1 contrast ratio. Its overall accessibility score is 96/100.
- What colors go well with Midnight Blue? ▾
- Midnight Blue pairs well with its complementary color Yellow (#FFFF00). Analogous colors like Bleu de France and Royal Blue also work harmoniously. Check the Color Harmonies section above for the full palette.
- What is Midnight Blue used for? ▾
- Midnight Blue is commonly used for: Banking, insurance, and financial institutions; Healthcare and medical device companies; Enterprise software and SaaS platforms; Government and public sector organizations; Airlines and aviation brands.
- What are the CSS and Tailwind values for Midnight Blue? ▾
- In CSS, use `color: #191970` or `background-color: #191970`. The CSS custom property is `--color-midnight-blue: #191970`. In Tailwind CSS, use the arbitrary value class `bg-[#191970]` for backgrounds or `text-[#191970]` for text.