Skip to main content

Dark Midnight Blue

#042862

Dark Midnight Blue is a cool dark color with the hex code #042862. This vibrant hue can be represented as RGB 4, 40, 98 in digital design or CMYK 96%, 59%, 0%, 62% for print applications. Find matching Pantone color.

Dark Midnight Blue Color Values

HEX
#042862
RGB
4, 40, 98
HSL
217°, 92%, 20%
CMYK
96, 59, 0, 62

About this color

Dark Midnight Blue sits at 217° on the color wheel, placing it in the cool color family, typically conveying calm and professionalism. With 92% saturation and 20% lightness, this vibrant dark hue conveys richness and intensity.

In digital design, cool colors like Dark Midnight Blue work well for backgrounds, navigation, and establishing trust. Dark colors provide excellent contrast for text overlays and premium brand aesthetics.

When using Dark Midnight Blue in print, the CMYK breakdown of 96%, 59%, 0%, 62% ensures accurate color reproduction. This balanced CMYK profile should reproduce consistently across different printing methods.

How to use Dark Midnight Blue

CSS Variable

:root {
  --brand-primary: #042862;
  --brand-primary-rgb: 4, 40, 98;
}

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

Tailwind Config

colors: {
  brand: '#042862',
}

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

Print Design (CMYK)

C: 96%
M: 59%
Y: 0%
K: 62%

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

RGB for Screens

rgb(4, 40, 98)
rgba(4, 40, 98, 0.8)

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

Frequently Asked Questions

What color is #042862?
#042862 is Dark Midnight Blue, a cool dark color with RGB values of 4, 40, 98. It has a hue of 217°, 92% saturation, and 20% lightness in the HSL color space.
What is the RGB value of #042862?
The RGB color code for #042862 is rgb(4, 40, 98). This means it contains 4 red, 40 green, and 98 blue in the RGB color model.
Is Dark Midnight Blue a warm or cool color?
Dark Midnight Blue (#042862) is a cool color with a hue between 120-300° on the color wheel.
How do I use #042862 in CSS?
You can use #042862 in CSS with: background-color: #042862; or color: #042862; or as an RGB value: rgb(4, 40, 98). For print design, use CMYK: 96%, 59%, 0%, 62%.