#122A4B color
The hex color #122A4B is a very dark, moderate azure.
In the RGB color model it is made of 7.1% red, 16.5% green and 29.4% blue (18, 42, 75).
Its hue angle is 215°, with 61% saturation and 18% lightness. For print, the CMYK equivalent is 76% cyan, 44% magenta, 0% yellow and 71% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.4:1).
#122A4B color codes
| HEX | #122A4B | |
|---|---|---|
| RGB | rgb(18, 42, 75) | |
| RGB percent | rgb(7.1%, 16.5%, 29.4%) | |
| HSL | hsl(215, 61%, 18%) | |
| HSV / HSB | hsv(215, 76%, 29%) | |
| CMYK | cmyk(76%, 44%, 0%, 71%) | |
| CIE LAB | lab(16.95, 3.57, -23.21) | |
| CIE LCH | lch(16.95, 23.48, 278.73) | |
| CIE XYZ | xyz(2.347, 2.292, 6.974) | |
| Decimal | 1190475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #122A4B, 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 #122A4B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.4:1 | Pass | Pass | Pass |
| #122A4B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.4:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #122A4B looks to people with the most common types of color vision deficiency.
#1b2d4cProtanopia
no red cones#12274aDeuteranopia
no green cones#003236Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #122a4b; }
.text { color: #122a4b; }
.border { border: 2px solid #122a4b; }
.transparent { background-color: rgb(18 42 75 / 50%); }
.gradient { background: linear-gradient(to right, #122a4b, #16124b); }
Similar colors
#0f2d4dMidnight Ocean#002147Oxford Blue#112244Dark Eclipse#1c2841Eternal Darkness#001f3fMidnight Mirage#1d2951Space Cadet#042e60Marine#012253Subnautical
Questions
- What color is #122A4B?
- #122A4B 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 #122A4B?
- The RGB value is 18, 42, 75: 18 red, 42 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #122A4B?
- The complementary color is #4B3312, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #122A4B?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.4:1. WCAG asks for at least 4.5:1 for normal text.