#162A4A color

#162A4A rgb(22, 42, 74)
Shades of blue

The hex color #162A4A is a very dark, moderate azure.

In the RGB color model it is made of 8.6% red, 16.5% green and 29% blue (22, 42, 74).

Its hue angle is 217°, with 54% saturation and 19% lightness. For print, the CMYK equivalent is 70% cyan, 43% magenta, 0% yellow and 71% black.

The closest named color is Midnight Ocean (#0F2D4D), a difference of 2.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 14.34:1).

#162A4A color codes

HEX#162A4A
RGBrgb(22, 42, 74)
RGB percentrgb(8.6%, 16.5%, 29%)
HSLhsl(217, 54%, 19%)
HSV / HSBhsv(217, 70%, 29%)
CMYKcmyk(70%, 43%, 0%, 71%)
CIE LABlab(17.09, 3.96, -22.3)
CIE LCHlch(17.09, 22.65, 280.06)
CIE XYZxyz(2.394, 2.321, 6.799)
Decimal1452618
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #162A4A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #162A4ARatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.34:1PassPassPass
#162A4A as text onRatioAAAAAAA large
Sample text14.34:1PassPassPass
Sample text1.46:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #162A4A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #162a4a; }
.text { color: #162a4a; }
.border { border: 2px solid #162a4a; }
.transparent { background-color: rgb(22 42 74 / 50%); }
.gradient { background: linear-gradient(to right, #162a4a, #1c164a); }
Background
Text color
Border

Similar colors

Questions

What color is #162A4A?
#162A4A is a very dark, moderate azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
What is the RGB value of #162A4A?
The RGB value is 22, 42, 74: 22 red, 42 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #162A4A?
The complementary color is #4A3616, found by rotating the hue 180° on the color wheel.
Is black or white text better on #162A4A?
White text. Black text has a contrast ratio of 1.46:1 and white text 14.34:1. WCAG asks for at least 4.5:1 for normal text.