#332F49 color
The hex color #332F49 is a dark, grayish blue.
In the RGB color model it is made of 20% red, 18.4% green and 28.6% blue (51, 47, 73).
Its hue angle is 249°, with 22% saturation and 24% lightness. For print, the CMYK equivalent is 30% cyan, 36% magenta, 0% yellow and 71% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.78:1).
#332F49 color codes
| HEX | #332F49 | |
|---|---|---|
| RGB | rgb(51, 47, 73) | |
| RGB percent | rgb(20%, 18.4%, 28.6%) | |
| HSL | hsl(249, 22%, 24%) | |
| HSV / HSB | hsv(249, 36%, 29%) | |
| CMYK | cmyk(30%, 36%, 0%, 71%) | |
| CIE LAB | lab(20.9, 8.63, -15.48) | |
| CIE LCH | lch(20.9, 17.72, 299.15) | |
| CIE XYZ | xyz(3.584, 3.218, 6.734) | |
| Decimal | 3354441 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332F49, 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 #332F49 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.78:1 | Pass | Pass | Pass |
| #332F49 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.78:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #332F49 looks to people with the most common types of color vision deficiency.
#28334aProtanopia
no red cones#283248Deuteranopia
no green cones#2e3338Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #332f49; }
.text { color: #332f49; }
.border { border: 2px solid #332f49; }
.transparent { background-color: rgb(51 47 73 / 50%); }
.gradient { background: linear-gradient(to right, #332f49, #402f49); }
Similar colors
#2c2e47Midnight Masquerade#3f354fMaharaja#3c2f4eSanctum of Shadows#372d52Midnight Pie#42364cCall It a Night#333344Shuriken#2a2243Midnight Velvet#403547Royal Decree
Closest common color name: Dark Purple.
Questions
- What color is #332F49?
- #332F49 is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #332F49?
- The RGB value is 51, 47, 73: 51 red, 47 green and 73 blue on a 0 to 255 scale.
- What is the complementary color of #332F49?
- The complementary color is #45492F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332F49?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.78:1. WCAG asks for at least 4.5:1 for normal text.