#121947 color
The hex color #121947 is a very dark, moderate blue.
In the RGB color model it is made of 7.1% red, 9.8% green and 27.8% blue (18, 25, 71).
Its hue angle is 232°, with 60% saturation and 17% lightness. For print, the CMYK equivalent is 75% cyan, 65% magenta, 0% yellow and 72% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.72:1).
#121947 color codes
| HEX | #121947 | |
|---|---|---|
| RGB | rgb(18, 25, 71) | |
| RGB percent | rgb(7.1%, 9.8%, 27.8%) | |
| HSL | hsl(232, 60%, 17%) | |
| HSV / HSB | hsv(232, 75%, 28%) | |
| CMYK | cmyk(75%, 65%, 0%, 72%) | |
| CIE LAB | lab(11.13, 14.71, -29.82) | |
| CIE LCH | lch(11.13, 33.25, 296.25) | |
| CIE XYZ | xyz(1.734, 1.279, 6.115) | |
| Decimal | 1186119 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #121947, 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 #121947 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.72:1 | Pass | Pass | Pass |
| #121947 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.72:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #121947 looks to people with the most common types of color vision deficiency.
#002049Protanopia
no red cones#001b46Deuteranopia
no green cones#00242dTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #121947; }
.text { color: #121947; }
.border { border: 2px solid #121947; }
.transparent { background-color: rgb(18 25 71 / 50%); }
.gradient { background: linear-gradient(to right, #121947, #261247); }
Similar colors
#1c1e4dFly-by-Night#111144Deadly Depths#211d49Azulado#231c4dSilent Orbit#071037Infinite Night#222255Spacescape#112255Dark Soul#112358Fibonacci Blue
Closest common color name: Oxford Blue.
Questions
- What color is #121947?
- #121947 is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the black family of colors.
- What is the RGB value of #121947?
- The RGB value is 18, 25, 71: 18 red, 25 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #121947?
- The complementary color is #474012, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #121947?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.72:1. WCAG asks for at least 4.5:1 for normal text.