#12224C color
The hex color #12224C is a very dark, moderate blue.
In the RGB color model it is made of 7.1% red, 13.3% green and 29.8% blue (18, 34, 76).
Its hue angle is 223°, with 62% saturation and 18% lightness. For print, the CMYK equivalent is 76% cyan, 55% magenta, 0% yellow and 70% black.
The closest named color is Dark Soul (#112255), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.45:1).
#12224C color codes
| HEX | #12224C | |
|---|---|---|
| RGB | rgb(18, 34, 76) | |
| RGB percent | rgb(7.1%, 13.3%, 29.8%) | |
| HSL | hsl(223, 62%, 18%) | |
| HSV / HSB | hsv(223, 76%, 30%) | |
| CMYK | cmyk(76%, 55%, 0%, 70%) | |
| CIE LAB | lab(14.37, 9.97, -28.03) | |
| CIE LCH | lch(14.37, 29.75, 289.58) | |
| CIE XYZ | xyz(2.126, 1.794, 7.07) | |
| Decimal | 1188428 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12224C, 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 #12224C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.45:1 | Pass | Pass | Pass |
| #12224C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.45: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 #12224C looks to people with the most common types of color vision deficiency.
#0a274eProtanopia
no red cones#00224bDeuteranopia
no green cones#002c33Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #12224c; }
.text { color: #12224c; }
.border { border: 2px solid #12224c; }
.transparent { background-color: rgb(18 34 76 / 50%); }
.gradient { background: linear-gradient(to right, #12224c, #1f124c); }
Similar colors
#112255Dark Soul#112244Dark Eclipse#1d2951Space Cadet#112358Fibonacci Blue#012253Subnautical#002147Oxford Blue#1c1e4dFly-by-Night#222255Spacescape
Questions
- What color is #12224C?
- #12224C 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 #12224C?
- The RGB value is 18, 34, 76: 18 red, 34 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #12224C?
- The complementary color is #4C3C12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12224C?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.45:1. WCAG asks for at least 4.5:1 for normal text.