#2D4872 color
The hex color #2D4872 is a dark, desaturated azure.
In the RGB color model it is made of 17.6% red, 28.2% green and 44.7% blue (45, 72, 114).
Its hue angle is 217°, with 43% saturation and 31% lightness. For print, the CMYK equivalent is 61% cyan, 37% magenta, 0% yellow and 55% black.
The closest named color is Dragonfly (#314A76), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.2:1).
#2D4872 color codes
| HEX | #2D4872 | |
|---|---|---|
| RGB | rgb(45, 72, 114) | |
| RGB percent | rgb(17.6%, 28.2%, 44.7%) | |
| HSL | hsl(217, 43%, 31%) | |
| HSV / HSB | hsv(217, 61%, 45%) | |
| CMYK | cmyk(61%, 37%, 0%, 55%) | |
| CIE LAB | lab(30.42, 3.72, -27.27) | |
| CIE LCH | lch(30.42, 27.52, 277.77) | |
| CIE XYZ | xyz(6.436, 6.407, 16.814) | |
| Decimal | 2967666 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D4872, 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 #2D4872 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.2:1 | Pass | Pass | Pass |
| #2D4872 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.2:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #2D4872 looks to people with the most common types of color vision deficiency.
#374b74Protanopia
no red cones#2e4571Deuteranopia
no green cones#005157Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #2d4872; }
.text { color: #2d4872; }
.border { border: 2px solid #2d4872; }
.transparent { background-color: rgb(45 72 114 / 50%); }
.gradient { background: linear-gradient(to right, #2d4872, #342d72); }
Similar colors
#314a76Dragonfly#32496fMidnight Interlude#2d4470Blue Funk#254770Pretty Twilight Night#2e4a7dNautical#27426bNightlife#34466cForlorn Cruise#394d78Noble Knight
Closest common color name: Prussian Blue.
Questions
- What color is #2D4872?
- #2D4872 is a dark, desaturated azure, closest to the named color Dragonfly. It belongs to the blue family of colors.
- What is the RGB value of #2D4872?
- The RGB value is 45, 72, 114: 45 red, 72 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #2D4872?
- The complementary color is #72572D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4872?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.2:1. WCAG asks for at least 4.5:1 for normal text.