#162C7C

A dark, moderate blue closely aligning with Midnightblue.

About #162C7C

The hex code #162C7C represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 22, 44, and 124.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 82% cyan, 65% magenta, 0% yellow, and 51% black. This makes it a relatively dark color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. Because it is a dark color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#162C7C
RGB22, 44, 124
HSL227.1°, 69.9%, 28.6%
CMYK82%, 65%, 0%, 51%
HSV227.1°, 82.3%, 48.6%
LAB21.7, 23.3, -47.7
XYZ4.9, 3.4, 19.5
Decimal1453180

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.46:1
Text on #FFFFFF
AAA
1.69:1
Text on #000000
FAIL
11.91:1
Text on #F8FAFC
AAA
1.43:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970