#332A71 color
The hex color #332A71 is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 16.5% green and 44.3% blue (51, 42, 113).
Its hue angle is 248°, with 46% saturation and 30% lightness. For print, the CMYK equivalent is 55% cyan, 63% magenta, 0% yellow and 56% black.
The closest named color is Indie Go (#2E2364), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.28:1).
#332A71 color codes
| HEX | #332A71 | |
|---|---|---|
| RGB | rgb(51, 42, 113) | |
| RGB percent | rgb(20%, 16.5%, 44.3%) | |
| HSL | hsl(248, 46%, 30%) | |
| HSV / HSB | hsv(248, 63%, 44%) | |
| CMYK | cmyk(55%, 63%, 0%, 56%) | |
| CIE LAB | lab(22.13, 25.13, -39.87) | |
| CIE LCH | lch(22.13, 47.13, 302.22) | |
| CIE XYZ | xyz(5.173, 3.552, 16.033) | |
| Decimal | 3353201 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332A71, 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 #332A71 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.28:1 | Pass | Pass | Pass |
| #332A71 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.28:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #332A71 looks to people with the most common types of color vision deficiency.
#003773Protanopia
no red cones#003370Deuteranopia
no green cones#1a3b49Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #332a71; }
.text { color: #332a71; }
.border { border: 2px solid #332a71; }
.transparent { background-color: rgb(51 42 113 / 50%); }
.gradient { background: linear-gradient(to right, #332a71, #572a71); }
Similar colors
#2e2364Indie Go#332266Dark Dreams#332277Deep Space Rodeo#222266Intergalactic Cowboy#432e6fHer Highness#3a1f76Explorer of the Galaxies#48357bGalactic Compass#443388Majestic Eggplant
Closest common color name: Midnight Blue.
Questions
- What color is #332A71?
- #332A71 is a dark, desaturated blue, closest to the named color Indie Go. It belongs to the blue family of colors.
- What is the RGB value of #332A71?
- The RGB value is 51, 42, 113: 51 red, 42 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #332A71?
- The complementary color is #68712A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332A71?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.28:1. WCAG asks for at least 4.5:1 for normal text.