#12213C color
The hex color #12213C is a very dark, moderate azure.
In the RGB color model it is made of 7.1% red, 12.9% green and 23.5% blue (18, 33, 60).
Its hue angle is 219°, with 54% saturation and 15% lightness. For print, the CMYK equivalent is 70% cyan, 45% magenta, 0% yellow and 76% black.
The closest named color is Dark Eclipse (#112244), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.05:1).
#12213C color codes
| HEX | #12213C | |
|---|---|---|
| RGB | rgb(18, 33, 60) | |
| RGB percent | rgb(7.1%, 12.9%, 23.5%) | |
| HSL | hsl(219, 54%, 15%) | |
| HSV / HSB | hsv(219, 70%, 24%) | |
| CMYK | cmyk(70%, 45%, 0%, 76%) | |
| CIE LAB | lab(12.88, 3.91, -19.3) | |
| CIE LCH | lch(12.88, 19.69, 281.46) | |
| CIE XYZ | xyz(1.609, 1.542, 4.487) | |
| Decimal | 1188156 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12213C, 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 #12213C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.05:1 | Pass | Pass | Pass |
| #12213C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.05:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #12213C looks to people with the most common types of color vision deficiency.
#15233dProtanopia
no red cones#101f3bDeuteranopia
no green cones#00272bTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #12213c; }
.text { color: #12213c; }
.border { border: 2px solid #12213c; }
.transparent { background-color: rgb(18 33 60 / 50%); }
.gradient { background: linear-gradient(to right, #12213c, #18123c); }
Similar colors
#112244Dark Eclipse#1c2841Eternal Darkness#161e34Sombre Night#011c39Naval Night#0e1d32Trapped Darkness#001f3fMidnight Mirage#161d3bNightwalker#002147Oxford Blue
Questions
- What color is #12213C?
- #12213C 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 #12213C?
- The RGB value is 18, 33, 60: 18 red, 33 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #12213C?
- The complementary color is #3C2D12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12213C?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.05:1. WCAG asks for at least 4.5:1 for normal text.