#070042

A very dark, vivid blue closely aligning with Midnightblue.

About #070042

At its core, #070042 is a very dark and vivid hue. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 7, 0, and 66.

For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 89% cyan, 100% magenta, 0% yellow, and 74% black. With a hue angle of 246.4 degrees, it sits comfortably in the blue spectrum.

When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#070042
RGB7, 0, 66
HSL246.4°, 100.0%, 12.9%
CMYK89%, 100%, 0%, 74%
HSV246.4°, 100.0%, 25.9%
LAB4.0, 26.1, -38.1
XYZ1.1, 0.4, 5.2
Decimal458818

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

19.31:1
Text on #FFFFFF
AAA
1.09:1
Text on #000000
FAIL
18.45:1
Text on #F8FAFC
AAA
1.08:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #070042; }
.text-color { color: #070042; }
.border-color { border: 2px solid #070042; }

Similar Colors

Midnightblue
#191970