vibrant
Midnight Blue and Lilac
6.69:1 contrast ratio —
AAVisual Preview
#191970Midnight Blue
#C8A2C8Lilac
The quick brown fox
Body text — Midnight Blue on Lilac
Supporting text at reduced opacity
Badge
Reversed — Lilac on Midnight Blue
Inverted combination preview
Contrast Analysis
Contrast Ratio
6.69:1
AAWCAG AA
✓ Pass
Requires 4.5:1
WCAG AA Large
✓ Pass
Requires 3:1
WCAG AAA
✗ Fail
Requires 7:1
Color Values
Midnight Blue
Foreground (Text)
- HEX
- #191970
- RGB
- rgb(25, 25, 112)
- HSL
- hsl(240, 64%, 27%)
Lilac
Background
- HEX
- #C8A2C8
- RGB
- rgb(200, 162, 200)
- HSL
- hsl(300, 26%, 71%)
Design Use Cases
- UI components
- Navigation
- Call-to-action buttons
- Form labels
Industry Recommendations
Digital Marketing
Consumer Apps
Retail
Social Media
E-commerce
Color Psychology
The Midnight Blue tone evokes trust, stability, and professionalism, while Lilac brings luxury, wisdom, and creativity. Together, they create a balanced palette suited for compelling visual communication.
Palette Exports
:root {
--color-midnight-blue: #191970;
--color-lilac: #C8A2C8;
}
.combo-midnight-blue-lilac {
color: var(--color-midnight-blue);
background-color: var(--color-lilac);
}Quick Snippets
CSS Variables
:root {
--color-midnight-blue: #191970;
--color-lilac: #C8A2C8;
}Tailwind CSS
<div class="bg-pink-300 text-indigo-900"> Your content here </div>