#162E54 color
The hex color #162E54 is a dark, moderate azure.
In the RGB color model it is made of 8.6% red, 18% green and 32.9% blue (22, 46, 84).
Its hue angle is 217°, with 58% saturation and 21% lightness. For print, the CMYK equivalent is 74% cyan, 45% magenta, 0% yellow and 67% 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 13.52:1).
#162E54 color codes
| HEX | #162E54 | |
|---|---|---|
| RGB | rgb(22, 46, 84) | |
| RGB percent | rgb(8.6%, 18%, 32.9%) | |
| HSL | hsl(217, 58%, 21%) | |
| HSV / HSB | hsv(217, 74%, 33%) | |
| CMYK | cmyk(74%, 45%, 0%, 67%) | |
| CIE LAB | lab(19.07, 5.19, -25.89) | |
| CIE LCH | lch(19.07, 26.4, 281.34) | |
| CIE XYZ | xyz(2.908, 2.764, 8.766) | |
| Decimal | 1453652 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #162E54, 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 #162E54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.52:1 | Pass | Pass | Pass |
| #162E54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.52:1 | Pass | Pass | Pass |
| Sample text | 1.55:1 | Fail | Fail | Fail |
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 #162E54 looks to people with the most common types of color vision deficiency.
#1c3155Protanopia
no red cones#122c53Deuteranopia
no green cones#00373cTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #162e54; }
.text { color: #162e54; }
.border { border: 2px solid #162e54; }
.transparent { background-color: rgb(22 46 84 / 50%); }
.gradient { background: linear-gradient(to right, #162e54, #1d1654); }
Similar colors
#0f2d4dMidnight Ocean#042e60Marine#1d2951Space Cadet#1c2e63Mythical Night#003368Neptune’s Dream#002147Oxford Blue#012253Subnautical#112244Dark Eclipse
Questions
- What color is #162E54?
- #162E54 is a dark, moderate azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #162E54?
- The RGB value is 22, 46, 84: 22 red, 46 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #162E54?
- The complementary color is #543C16, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #162E54?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.52:1. WCAG asks for at least 4.5:1 for normal text.