Skip to main content

Midnight

#070F2C

Midnight is a cool dark color with the hex code #070F2C. This vibrant hue can be represented as RGB 7, 15, 44 in digital design or CMYK 84%, 66%, 0%, 83% for print applications. Find matching Pantone color.

Midnight color values

HEX
#070F2C
RGB
7, 15, 44
HSL
227°, 73%, 10%
CMYK
84, 66, 0, 83

About this color

Midnight sits at 227° on the color wheel with 73% saturation and 10% lightness, placing it in the blue segment of the spectrum. At 73% saturation, the hue is fully legible and confident — richly chromatic without tipping into high-contrast territory. 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(7, 15, 44), where the blue channel is highest at 44, 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 84C 66M 0Y 83K. The dominant black channel (83%) 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.

How to use Midnight

CSS Variable

:root {
  --brand-primary: #070F2C;
  --brand-primary-rgb: 7, 15, 44;
}

Define as a CSS custom property for consistent theming across your site.

Tailwind Config

colors: {
  brand: '#070F2C',
}

Add to your Tailwind config to use classes like bg-brand.

Print Design (CMYK)

C: 84%
M: 66%
Y: 0%
K: 83%

Use these CMYK values in Adobe Illustrator, InDesign, or print specifications.

RGB for Screens

rgb(7, 15, 44)
rgba(7, 15, 44, 0.8)

Use RGB notation for compatibility or add alpha channel for transparency.

Frequently asked questions

What color is #070F2C?
#070F2C is Midnight, a cool dark color with RGB values of 7, 15, 44. It has a hue of 227°, 73% saturation, and 10% lightness in the HSL color space.
What is the RGB value of #070F2C?
The RGB color code for #070F2C is rgb(7, 15, 44). This means it contains 7 red, 15 green, and 44 blue in the RGB color model.
Is Midnight a warm or cool color?
Midnight (#070F2C) is a cool color with a hue between 120-300° on the color wheel.
How do I use #070F2C in CSS?
You can use #070F2C in CSS with: background-color: #070F2C; or color: #070F2C; or as an RGB value: rgb(7, 15, 44). For print design, use CMYK: 84%, 66%, 0%, 83%.