vibrant
Midnight Blue and Lavender
12.06:1 contrast ratio —
AAAVisual Preview
#191970Midnight Blue
#E6E6FALavender
The quick brown fox
Body text — Midnight Blue on Lavender
Supporting text at reduced opacity
Badge
Reversed — Lavender on Midnight Blue
Inverted combination preview
Contrast Analysis
Contrast Ratio
12.06:1
AAAWCAG AA
✓ Pass
Requires 4.5:1
WCAG AA Large
✓ Pass
Requires 3:1
WCAG AAA
✓ Pass
Requires 7:1
Color Values
Midnight Blue
Foreground (Text)
- HEX
- #191970
- RGB
- rgb(25, 25, 112)
- HSL
- hsl(240, 64%, 27%)
Lavender
Background
- HEX
- #E6E6FA
- RGB
- rgb(230, 230, 250)
- HSL
- hsl(240, 67%, 94%)
Design Use Cases
- Accessibility-critical text
- Body copy
- Public sector services
- Medical content
Industry Recommendations
Accessibility-First Products
Publishing
Legal Services
Education
Government
Color Psychology
The Midnight Blue tone evokes trust, stability, and professionalism, while Lavender brings luxury, wisdom, and creativity. Together, they create a balanced palette suited for compelling visual communication.
Palette Exports
:root {
--color-midnight-blue: #191970;
--color-lavender: #E6E6FA;
}
.combo-midnight-blue-lavender {
color: var(--color-midnight-blue);
background-color: var(--color-lavender);
}Quick Snippets
CSS Variables
:root {
--color-midnight-blue: #191970;
--color-lavender: #E6E6FA;
}Tailwind CSS
<div class="bg-indigo-100 text-indigo-900"> Your content here </div>