#332B79 color
The hex color #332B79 is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 16.9% green and 47.5% blue (51, 43, 121).
Its hue angle is 246°, with 48% saturation and 32% lightness. For print, the CMYK equivalent is 58% cyan, 64% magenta, 0% yellow and 53% black.
The closest named color is Deep Space Rodeo (#332277), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.92:1).
#332B79 color codes
| HEX | #332B79 | |
|---|---|---|
| RGB | rgb(51, 43, 121) | |
| RGB percent | rgb(20%, 16.9%, 47.5%) | |
| HSL | hsl(246, 48%, 32%) | |
| HSV / HSB | hsv(246, 64%, 47%) | |
| CMYK | cmyk(58%, 64%, 0%, 53%) | |
| CIE LAB | lab(23.04, 27.2, -43.51) | |
| CIE LCH | lch(23.04, 51.31, 302.01) | |
| CIE XYZ | xyz(5.679, 3.812, 18.522) | |
| Decimal | 3353465 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332B79, 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 #332B79 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.92:1 | Pass | Pass | Pass |
| #332B79 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.92:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #332B79 looks to people with the most common types of color vision deficiency.
#003a7cProtanopia
no red cones#003477Deuteranopia
no green cones#113e4dTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #332b79; }
.text { color: #332b79; }
.border { border: 2px solid #332b79; }
.transparent { background-color: rgb(51 43 121 / 50%); }
.gradient { background: linear-gradient(to right, #332b79, #5a2b79); }
Similar colors
#332277Deep Space Rodeo#443388Majestic Eggplant#273287Intergalactic Highway#2e2364Indie Go#3a1f76Explorer of the Galaxies#332266Dark Dreams#222266Intergalactic Cowboy#313390Perfect Dark
Closest common color name: Midnight Blue.
Questions
- What color is #332B79?
- #332B79 is a dark, desaturated blue, closest to the named color Deep Space Rodeo. It belongs to the blue family of colors.
- What is the RGB value of #332B79?
- The RGB value is 51, 43, 121: 51 red, 43 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #332B79?
- The complementary color is #71792B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332B79?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.92:1. WCAG asks for at least 4.5:1 for normal text.