#162151 color
The hex color #162151 is a dark, moderate blue.
In the RGB color model it is made of 8.6% red, 12.9% green and 31.8% blue (22, 33, 81).
Its hue angle is 229°, with 57% saturation and 20% lightness. For print, the CMYK equivalent is 73% cyan, 59% magenta, 0% yellow and 68% black.
The closest named color is Dark Soul (#112255), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.32:1).
#162151 color codes
| HEX | #162151 | |
|---|---|---|
| RGB | rgb(22, 33, 81) | |
| RGB percent | rgb(8.6%, 12.9%, 31.8%) | |
| HSL | hsl(229, 57%, 20%) | |
| HSV / HSB | hsv(229, 73%, 32%) | |
| CMYK | cmyk(73%, 59%, 0%, 68%) | |
| CIE LAB | lab(14.69, 13.57, -30.91) | |
| CIE LCH | lch(14.69, 33.75, 293.7) | |
| CIE XYZ | xyz(2.359, 1.852, 8.016) | |
| Decimal | 1450321 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #162151, 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 #162151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.32:1 | Pass | Pass | Pass |
| #162151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.32:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #162151 looks to people with the most common types of color vision deficiency.
#012853Protanopia
no red cones#002250Deuteranopia
no green cones#002c35Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #162151; }
.text { color: #162151; }
.border { border: 2px solid #162151; }
.transparent { background-color: rgb(22 33 81 / 50%); }
.gradient { background: linear-gradient(to right, #162151, #291651); }
Similar colors
#112255Dark Soul#112358Fibonacci Blue#1c1e4dFly-by-Night#222255Spacescape#1d2951Space Cadet#012253Subnautical#211d49Azulado#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #162151?
- #162151 is a dark, moderate blue, closest to the named color Dark Soul. It belongs to the blue family of colors.
- What is the RGB value of #162151?
- The RGB value is 22, 33, 81: 22 red, 33 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #162151?
- The complementary color is #514616, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #162151?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.32:1. WCAG asks for at least 4.5:1 for normal text.