#120C38 color
The hex color #120C38 is a very dark, moderate blue.
In the RGB color model it is made of 7.1% red, 4.7% green and 22% blue (18, 12, 56).
Its hue angle is 248°, with 65% saturation and 13% lightness. For print, the CMYK equivalent is 68% cyan, 79% magenta, 0% yellow and 78% black.
The closest named color is Quiet Abyss (#160435), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.5:1).
#120C38 color codes
| HEX | #120C38 | |
|---|---|---|
| RGB | rgb(18, 12, 56) | |
| RGB percent | rgb(7.1%, 4.7%, 22%) | |
| HSL | hsl(248, 65%, 13%) | |
| HSV / HSB | hsv(248, 79%, 22%) | |
| CMYK | cmyk(68%, 79%, 0%, 78%) | |
| CIE LAB | lab(6.12, 17.59, -27.31) | |
| CIE LCH | lch(6.12, 32.48, 302.78) | |
| CIE XYZ | xyz(1.095, 0.677, 3.814) | |
| Decimal | 1182776 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120C38, 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 #120C38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.5:1 | Pass | Pass | Pass |
| #120C38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.5:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #120C38 looks to people with the most common types of color vision deficiency.
#001539Protanopia
no red cones#001237Deuteranopia
no green cones#011720Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #120c38; }
.text { color: #120c38; }
.border { border: 2px solid #120c38; }
.transparent { background-color: rgb(18 12 56 / 50%); }
.gradient { background: linear-gradient(to right, #120c38, #280c38); }
Similar colors
#160435Quiet Abyss#111144Deadly Depths#071037Infinite Night#1c0f33Midnight Monarch#000435Oblivion#03012dMidnight#000b44Storm#00022eIllicit Darkness
Closest common color name: Dark Purple.
Questions
- What color is #120C38?
- #120C38 is a very dark, moderate blue, closest to the named color Quiet Abyss. It belongs to the black family of colors.
- What is the RGB value of #120C38?
- The RGB value is 18, 12, 56: 18 red, 12 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #120C38?
- The complementary color is #32380C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120C38?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.5:1. WCAG asks for at least 4.5:1 for normal text.