#122839 color
The hex color #122839 is a very dark, moderate azure.
In the RGB color model it is made of 7.1% red, 15.7% green and 22.4% blue (18, 40, 57).
Its hue angle is 206°, with 52% saturation and 15% lightness. For print, the CMYK equivalent is 68% cyan, 30% magenta, 0% yellow and 78% black.
The closest named color is The Count’s Black (#102030), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.13:1).
#122839 color codes
| HEX | #122839 | |
|---|---|---|
| RGB | rgb(18, 40, 57) | |
| RGB percent | rgb(7.1%, 15.7%, 22.4%) | |
| HSL | hsl(206, 52%, 15%) | |
| HSV / HSB | hsv(206, 68%, 22%) | |
| CMYK | cmyk(68%, 30%, 0%, 78%) | |
| CIE LAB | lab(15.18, -2.44, -13.57) | |
| CIE LCH | lch(15.18, 13.79, 259.8) | |
| CIE XYZ | xyz(1.746, 1.941, 4.153) | |
| Decimal | 1189945 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #122839, 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 #122839 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.13:1 | Pass | Pass | Pass |
| #122839 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.13:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #122839 looks to people with the most common types of color vision deficiency.
#21283aProtanopia
no red cones#1b2439Deuteranopia
no green cones#002c2eTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #122839; }
.text { color: #122839; }
.border { border: 2px solid #122839; }
.transparent { background-color: rgb(18 40 57 / 50%); }
.gradient { background: linear-gradient(to right, #122839, #121439); }
Similar colors
#102030The Count’s Black#002233Midnight Dreams#172b36Oceanic Noir#1b2431Dark#001b2eOxford by Night#1e3442Blue Whale#0b334dSea of Stars#222831Infinity
Closest common color name: Prussian Blue.
Questions
- What color is #122839?
- #122839 is a very dark, moderate azure, closest to the named color The Count’s Black. It belongs to the blue family of colors.
- What is the RGB value of #122839?
- The RGB value is 18, 40, 57: 18 red, 40 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #122839?
- The complementary color is #392312, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #122839?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.13:1. WCAG asks for at least 4.5:1 for normal text.