#122151 color
The hex color #122151 is a very dark, moderate blue.
In the RGB color model it is made of 7.1% red, 12.9% green and 31.8% blue (18, 33, 81).
Its hue angle is 226°, with 64% saturation and 19% lightness. For print, the CMYK equivalent is 78% cyan, 59% magenta, 0% yellow and 68% black.
The closest named color is Dark Soul (#112255), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.42:1).
#122151 color codes
| HEX | #122151 | |
|---|---|---|
| RGB | rgb(18, 33, 81) | |
| RGB percent | rgb(7.1%, 12.9%, 31.8%) | |
| HSL | hsl(226, 64%, 19%) | |
| HSV / HSB | hsv(226, 78%, 32%) | |
| CMYK | cmyk(78%, 59%, 0%, 68%) | |
| CIE LAB | lab(14.46, 12.88, -31.3) | |
| CIE LCH | lch(14.46, 33.84, 292.36) | |
| CIE XYZ | xyz(2.278, 1.81, 8.012) | |
| Decimal | 1188177 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #122151, 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 #122151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.42:1 | Pass | Pass | Pass |
| #122151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.42:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #122151 looks to people with the most common types of color vision deficiency.
#002853Protanopia
no red cones#002250Deuteranopia
no green cones#002d35Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #122151; }
.text { color: #122151; }
.border { border: 2px solid #122151; }
.transparent { background-color: rgb(18 33 81 / 50%); }
.gradient { background: linear-gradient(to right, #122151, #231251); }
Similar colors
#112255Dark Soul#112358Fibonacci Blue#012253Subnautical#1c1e4dFly-by-Night#1d2951Space Cadet#222255Spacescape#052462Black Sea Night#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #122151?
- #122151 is a very dark, moderate blue, closest to the named color Dark Soul. It belongs to the blue family of colors.
- What is the RGB value of #122151?
- The RGB value is 18, 33, 81: 18 red, 33 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #122151?
- The complementary color is #514212, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #122151?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.42:1. WCAG asks for at least 4.5:1 for normal text.