Midnight is a
cool dark color with the hex code #050F2E.
This vibrant hue can be represented as RGB
5, 15, 46 in digital design or CMYK 89%, 67%, 0%, 82% for print applications.
Find matching Pantone color.
Midnight
#050F2E
Midnight color values
- HEX
- #050F2E
- RGB
- 5, 15, 46
- HSL
- 225°, 80%, 10%
- CMYK
- 89, 67, 0, 82
Shades & tints
About this color
Midnight sits at 225° on the color wheel with 80% saturation and 10% lightness, placing it in the blue segment of the spectrum. With saturation at 80%, this is a high-chroma color: the kind that anchors palettes and demands considered placement. Near-black lightness makes it read as a deep, absorptive tone — color is implied more than seen.
In digital environments, Midnight is rendered as rgb(5, 15, 46), where the blue channel is highest at 46, anchoring the color in the cool register. High saturation combined with low lightness creates deep, jewel-toned results — useful for premium UI elements, hover states, and focused interaction areas.
For print, Midnight translates to a CMYK breakdown of 89C 67M 0Y 82K. The dominant black channel (82%) does most of the tonal work here — cyan, magenta, and yellow contribute minimally, so the printed result will be a deep, near-neutral tone that reads differently from its screen equivalent. No brands in the brandkit.pro library currently specify this exact hex as a named brand color.
Color harmonies
Complementary
Analogous
Triadic
Split-Complementary
How to use Midnight
CSS Variable
:root {
--brand-primary: #050F2E;
--brand-primary-rgb: 5, 15, 46;
} Define as a CSS custom property for consistent theming across your site.
Tailwind Config
colors: {
brand: '#050F2E',
}
Add to your Tailwind config to use classes like bg-brand.
Print Design (CMYK)
C: 89%
M: 67%
Y: 0%
K: 82% Use these CMYK values in Adobe Illustrator, InDesign, or print specifications.
RGB for Screens
rgb(5, 15, 46)
rgba(5, 15, 46, 0.8) Use RGB notation for compatibility or add alpha channel for transparency.
Frequently asked questions
What color is #050F2E?
What is the RGB value of #050F2E?
Is Midnight a warm or cool color?
How do I use #050F2E in CSS?
background-color: #050F2E; or color: #050F2E; or as an RGB value: rgb(5, 15, 46). For print design, use CMYK: 89%, 67%, 0%, 82%.