#332F5D color
The hex color #332F5D is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 18.4% green and 36.5% blue (51, 47, 93).
Its hue angle is 245°, with 33% saturation and 27% lightness. For print, the CMYK equivalent is 45% cyan, 49% magenta, 0% yellow and 64% black.
The closest named color is Galaxea (#2E305E), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.31:1).
#332F5D color codes
| HEX | #332F5D | |
|---|---|---|
| RGB | rgb(51, 47, 93) | |
| RGB percent | rgb(20%, 18.4%, 36.5%) | |
| HSL | hsl(245, 33%, 27%) | |
| HSV / HSB | hsv(245, 49%, 36%) | |
| CMYK | cmyk(45%, 49%, 0%, 64%) | |
| CIE LAB | lab(22.04, 14.97, -27.01) | |
| CIE LCH | lch(22.04, 30.88, 299) | |
| CIE XYZ | xyz(4.357, 3.527, 10.805) | |
| Decimal | 3354461 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #332F5D, 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 #332F5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.31:1 | Pass | Pass | Pass |
| #332F5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.31: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 #332F5D looks to people with the most common types of color vision deficiency.
#1d365fProtanopia
no red cones#1c335cDeuteranopia
no green cones#263841Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #332f5d; }
.text { color: #332f5d; }
.border { border: 2px solid #332f5d; }
.transparent { background-color: rgb(51 47 93 / 50%); }
.gradient { background: linear-gradient(to right, #332f5d, #4a2f5d); }
Similar colors
#2e305eGalaxea#322c56Purple Noir#2c2c57Deep Sea Base#2a2551Pāua#372d52Midnight Pie#222255Spacescape#2b3458Midnight Escapade#3d3d63Storm Is Coming
Closest common color name: Dark Slate Blue.
Questions
- What color is #332F5D?
- #332F5D is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #332F5D?
- The RGB value is 51, 47, 93: 51 red, 47 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #332F5D?
- The complementary color is #595D2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #332F5D?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.31:1. WCAG asks for at least 4.5:1 for normal text.