#122545 color
The hex color #122545 is a very dark, moderate azure.
In the RGB color model it is made of 7.1% red, 14.5% green and 27.1% blue (18, 37, 69).
Its hue angle is 218°, with 59% saturation and 17% lightness. For print, the CMYK equivalent is 74% cyan, 46% magenta, 0% yellow and 73% black.
The closest named color is Dark Eclipse (#112244), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.26:1).
#122545 color codes
| HEX | #122545 | |
|---|---|---|
| RGB | rgb(18, 37, 69) | |
| RGB percent | rgb(7.1%, 14.5%, 27.1%) | |
| HSL | hsl(218, 59%, 17%) | |
| HSV / HSB | hsv(218, 74%, 27%) | |
| CMYK | cmyk(74%, 46%, 0%, 73%) | |
| CIE LAB | lab(14.85, 4.71, -22.44) | |
| CIE LCH | lch(14.85, 22.93, 281.85) | |
| CIE XYZ | xyz(1.985, 1.881, 5.888) | |
| Decimal | 1189189 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #122545, 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 #122545 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.26:1 | Pass | Pass | Pass |
| #122545 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.26:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #122545 looks to people with the most common types of color vision deficiency.
#162846Protanopia
no red cones#0e2344Deuteranopia
no green cones#002c31Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #122545; }
.text { color: #122545; }
.border { border: 2px solid #122545; }
.transparent { background-color: rgb(18 37 69 / 50%); }
.gradient { background: linear-gradient(to right, #122545, #181245); }
Similar colors
#112244Dark Eclipse#002147Oxford Blue#001f3fMidnight Mirage#1c2841Eternal Darkness#1d2951Space Cadet#011c39Naval Night#0f2d4dMidnight Ocean#012253Subnautical
Questions
- What color is #122545?
- #122545 is a very dark, moderate azure, closest to the named color Dark Eclipse. It belongs to the blue family of colors.
- What is the RGB value of #122545?
- The RGB value is 18, 37, 69: 18 red, 37 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #122545?
- The complementary color is #453212, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #122545?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.26:1. WCAG asks for at least 4.5:1 for normal text.