#121940 color
The hex color #121940 is a very dark, moderate blue.
In the RGB color model it is made of 7.1% red, 9.8% green and 25.1% blue (18, 25, 64).
Its hue angle is 231°, with 56% saturation and 16% lightness. For print, the CMYK equivalent is 72% cyan, 61% magenta, 0% yellow and 75% black.
The closest named color is Infinite Night (#071037), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.95:1).
#121940 color codes
| HEX | #121940 | |
|---|---|---|
| RGB | rgb(18, 25, 64) | |
| RGB percent | rgb(7.1%, 9.8%, 25.1%) | |
| HSL | hsl(231, 56%, 16%) | |
| HSV / HSB | hsv(231, 72%, 25%) | |
| CMYK | cmyk(72%, 61%, 0%, 75%) | |
| CIE LAB | lab(10.51, 11.75, -25.91) | |
| CIE LCH | lch(10.51, 28.45, 294.4) | |
| CIE XYZ | xyz(1.522, 1.194, 5) | |
| Decimal | 1186112 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #121940, 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 #121940 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.95:1 | Pass | Pass | Pass |
| #121940 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.95:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #121940 looks to people with the most common types of color vision deficiency.
#021f41Protanopia
no red cones#001b3fDeuteranopia
no green cones#002229Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #121940; }
.text { color: #121940; }
.border { border: 2px solid #121940; }
.transparent { background-color: rgb(18 25 64 / 50%); }
.gradient { background: linear-gradient(to right, #121940, #221240); }
Similar colors
#071037Infinite Night#1c1e4dFly-by-Night#161d3bNightwalker#211d49Azulado#222244Black Market#111144Deadly Depths#112244Dark Eclipse#231c4dSilent Orbit
Closest common color name: Oxford Blue.
Questions
- What color is #121940?
- #121940 is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
- What is the RGB value of #121940?
- The RGB value is 18, 25, 64: 18 red, 25 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #121940?
- The complementary color is #403912, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #121940?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.95:1. WCAG asks for at least 4.5:1 for normal text.