Napoleonic Blue color: hex code #2C4170
Napoleonic Blue has the hex code #2C4170. It is a dark, desaturated blue.
In the RGB color model it is made of 17.3% red, 25.5% green and 43.9% blue (44, 65, 112).
Its hue angle is 221°, with 44% saturation and 31% lightness. For print, the CMYK equivalent is 61% cyan, 42% magenta, 0% yellow and 56% black.
White text is the more readable choice on this background (contrast 10.01:1).
Napoleonic Blue (#2C4170) color codes
| HEX | #2C4170 | |
|---|---|---|
| RGB | rgb(44, 65, 112) | |
| RGB percent | rgb(17.3%, 25.5%, 43.9%) | |
| HSL | hsl(221, 44%, 31%) | |
| HSV / HSB | hsv(221, 61%, 44%) | |
| CMYK | cmyk(61%, 42%, 0%, 56%) | |
| CIE LAB | lab(28.08, 7.46, -29.72) | |
| CIE LCH | lch(28.08, 30.64, 284.1) | |
| CIE XYZ | xyz(5.853, 5.485, 16.076) | |
| Decimal | 2900336 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Napoleonic Blue, 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 #2C4170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 10.01:1 | Pass | Pass | Pass |
| #2C4170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.01:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #2C4170 looks to people with the most common types of color vision deficiency.
#2d4672Protanopia
no red cones#243f6fDeuteranopia
no green cones#004b53Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #2c4170; }
.text { color: #2c4170; }
.border { border: 2px solid #2c4170; }
.transparent { background-color: rgb(44 65 112 / 50%); }
.gradient { background: linear-gradient(to right, #2c4170, #392c70); }
Similar colors
#2d4470Blue Funk#324471Space Missions#27426bNightlife#34466cForlorn Cruise#314a76Dragonfly#32496fMidnight Interlude#2c4364Black Turmeric#1b416fAegean Blue
Closest common color name: Prussian Blue.
See #2C4170 on its hex code page
Questions
- What color is #2C4170?
- #2C4170 is a dark, desaturated blue known as Napoleonic Blue. It belongs to the blue family of colors.
- What is the RGB value of Napoleonic Blue?
- The RGB value is 44, 65, 112: 44 red, 65 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of Napoleonic Blue?
- The complementary color is #705B2C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2C4170?
- White text. Black text has a contrast ratio of 2.1:1 and white text 10.01:1. WCAG asks for at least 4.5:1 for normal text.