#334972 color
The hex color #334972 is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 28.6% green and 44.7% blue (51, 73, 114).
Its hue angle is 219°, with 38% saturation and 32% lightness. For print, the CMYK equivalent is 55% cyan, 36% magenta, 0% yellow and 55% black.
The closest named color is Midnight Interlude (#32496F), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.99:1).
#334972 color codes
| HEX | #334972 | |
|---|---|---|
| RGB | rgb(51, 73, 114) | |
| RGB percent | rgb(20%, 28.6%, 44.7%) | |
| HSL | hsl(219, 38%, 32%) | |
| HSV / HSB | hsv(219, 55%, 45%) | |
| CMYK | cmyk(55%, 36%, 0%, 55%) | |
| CIE LAB | lab(31.07, 4.5, -26.21) | |
| CIE LCH | lch(31.07, 26.59, 279.73) | |
| CIE XYZ | xyz(6.784, 6.683, 16.849) | |
| Decimal | 3361138 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334972, 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 #334972 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.99:1 | Pass | Pass | Pass |
| #334972 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.99:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #334972 looks to people with the most common types of color vision deficiency.
#394c74Protanopia
no red cones#314671Deuteranopia
no green cones#135258Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #334972; }
.text { color: #334972; }
.border { border: 2px solid #334972; }
.transparent { background-color: rgb(51 73 114 / 50%); }
.gradient { background: linear-gradient(to right, #334972, #3c3372); }
Similar colors
#32496fMidnight Interlude#314a76Dragonfly#34466cForlorn Cruise#394d78Noble Knight#2d4470Blue Funk#324471Space Missions#2e4a7dNautical#384b6bNaval Blue
Closest common color name: Dark Slate Blue.
Questions
- What color is #334972?
- #334972 is a dark, desaturated azure, closest to the named color Midnight Interlude. It belongs to the blue family of colors.
- What is the RGB value of #334972?
- The RGB value is 51, 73, 114: 51 red, 73 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #334972?
- The complementary color is #725C33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334972?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.99:1. WCAG asks for at least 4.5:1 for normal text.