Midnight
Also known as: Insomnia , Illicit Darkness , Erebus Blue , Mighty Midnight
Expect calm and trustworthy associations from Midnight, a deep blue suited to trust-driven interfaces and corporate branding. Its complement lands in black territory, which makes for striking two-color pairings. Accessibility-wise, it clears AA for text on white at 20.07:1.
Reference
Midnight color codes
- HEX
- #03012D
- RGB
- rgb(3, 1, 45)
- RGBA
- rgba(3, 1, 45, 1)
- HSL
- hsl(243, 96%, 9%)
- HSV
- hsv(243, 98%, 18%)
- CMYK
- cmyk(93%, 98%, 0%, 82%)
- LAB
- lab(1.8 9.4 -26.0)
- OKLCH
- oklch(14.2% 0.088 270.7)
Analysis
Color intelligence
?
Gamut
The full range of colors a device or space can show. sRGB is the common screen gamut; Display P3 is wider. A color outside a gamut cannot be shown accurately there and must be mapped inward.Full glossary entry →Displays accurately on every screen and translates well to print.
Temperature
Undertone
?
cool
Nearest standard colors
?
Delta E (ΔE)
A measure of how different two colors look. Below 1 the difference is invisible to almost everyone; below 2.3 most people can't tell them apart; above 10 they are clearly different colors. We use CIEDE2000, the modern standard.Full glossary entry →
?
Delta E (ΔE)
A measure of how different two colors look. Below 1 the difference is invisible to almost everyone; below 2.3 most people can't tell them apart; above 10 they are clearly different colors. We use CIEDE2000, the modern standard.Full glossary entry →- CSS: midnightblue #191970 · ΔE 12.7
- RAL 5013: Cobalt blue #232D53 · ΔE 11.3 · approximate
RAL values are widely published approximations of the physical standard. For Pantone-adjacent workflows, match by eye against a physical fan deck. Pantone's values are proprietary and device-dependent, so we don't print lookups.
Where Midnight works
- Web & UI: Use it directly for text on light surfaces; it clears AA contrast without adjustment.
- Interiors: Use it where you want the eye to land: a front door, built-ins, or one bold wall.
- Fashion: One garment in this color carries an outfit; two starts to compete.
- Branding: The safest brand-primary family there is; differentiate with an unexpected accent.
- Web & UI: Use it decoratively for dividers, chart series, and illustration accents, and let neutrals carry the type.
- Branding: Best in a brand's supporting palette: packaging interiors, patterns, campaign accents.
Copy as: every ecosystem
Variations
Tints, shades, and tones of Midnight
?
Tint
A color mixed with white, which raises its lightness. Pink is a tint of red. Tints feel softer and more open than the base color.Full glossary entry →
?
Tint
A color mixed with white, which raises its lightness. Pink is a tint of red. Tints feel softer and more open than the base color.Full glossary entry →Tints (lighter)
Shades (darker)
Harmonies
Color harmonies
?
Complementary colors
Two colors opposite each other on the wheel. They create the strongest contrast and make each other look more intense, so they work best used unevenly.Full glossary entry →
?
Complementary colors
Two colors opposite each other on the wheel. They create the strongest contrast and make each other look more intense, so they work best used unevenly.Full glossary entry →Palettes built from Midnight by rotating its hue in OKLCH space. Click any swatch to copy its hex code.
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Monochromatic
Accessibility
Contrast & accessibility
Aa on white
contrast 20.07:1
AA pass AAA pass AA large pass
Aa on black
contrast 1.05:1
AA fail AAA fail AA large fail
Best text color on a Midnight background: #ffffff
Palettes
Palettes featuring Midnight
Midnight with its complement
Soft neighbors of Midnight
Midnight triad
Explore
Similar colors
- Oblivion #000435 · ΔE 2.1
- Storm #000B44 · ΔE 5.2
- Void #050D25 · ΔE 6.2
- Nightwalker #161D3B · ΔE 6.7
- Dark Knight #151931 · ΔE 6.9
- Azulado #211D49 · ΔE 7.4
Looking for maximum contrast instead? The complement of Midnight is closest to Balsamico .
FAQ
Midnight FAQs
What color is Midnight?
Midnight is a dark blue with the hex code #03012D. In HSL terms it has a hue of 243°, 96% saturation, and 9% lightness.
What is the hex code for Midnight?
The hex code for Midnight is #03012D. In RGB it's rgb(3, 1, 45), and in CMYK it's cmyk(93%, 98%, 0%, 82%).
What colors go well with Midnight?
Midnight pairs naturally with black tones from its complementary harmony. Its own tints and shades always work as a monochrome scheme.
Planning around this color? See everything that goes with Midnight : 10 computed pairings with palettes.
Got a photo with a color like this? Identify it with the analyzer . Free, private, on your device.