#07166D

A dark, vivid blue closely aligning with Midnightblue.

About #07166D

The precise color #07166D is an excellent choice for modern design projects. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 7 red, 22 green, and 109 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 94% cyan and 80% magenta inks. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#07166D
RGB7, 22, 109
HSL231.2°, 87.9%, 22.7%
CMYK94%, 80%, 0%, 57%
HSV231.2°, 93.6%, 42.7%
LAB14.0, 31.2, -50.8
XYZ3.1, 1.7, 14.6
Decimal464493

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.62:1
Text on #FFFFFF
AAA
1.34:1
Text on #000000
FAIL
14.93:1
Text on #F8FAFC
AAA
1.14:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970