#3E3381 color
The hex color #3E3381 is a dark, desaturated blue.
In the RGB color model it is made of 24.3% red, 20% green and 50.6% blue (62, 51, 129).
Its hue angle is 248°, with 43% saturation and 35% lightness. For print, the CMYK equivalent is 52% cyan, 60% magenta, 0% yellow and 49% black.
The closest named color is Majestic Eggplant (#443388), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.52:1).
#3E3381 color codes
| HEX | #3E3381 | |
|---|---|---|
| RGB | rgb(62, 51, 129) | |
| RGB percent | rgb(24.3%, 20%, 50.6%) | |
| HSL | hsl(248, 43%, 35%) | |
| HSV / HSB | hsv(248, 60%, 51%) | |
| CMYK | cmyk(52%, 60%, 0%, 49%) | |
| CIE LAB | lab(26.67, 26.98, -42.63) | |
| CIE LCH | lch(26.67, 50.45, 302.33) | |
| CIE XYZ | xyz(7.132, 4.976, 21.349) | |
| Decimal | 4076417 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E3381, 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 #3E3381 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.52:1 | Pass | Pass | Pass |
| #3E3381 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.52:1 | Pass | Pass | Pass |
| Sample text | 2: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 #3E3381 looks to people with the most common types of color vision deficiency.
#004184Protanopia
no red cones#003d7fDeuteranopia
no green cones#254555Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #3e3381; }
.text { color: #3e3381; }
.border { border: 2px solid #3e3381; }
.transparent { background-color: rgb(62 51 129 / 50%); }
.gradient { background: linear-gradient(to right, #3e3381, #653381); }
Similar colors
#443388Majestic Eggplant#48357bGalactic Compass#483d8bDark Slate Blue#313390Perfect Dark#273287Intergalactic Highway#432e6fHer Highness#2b3191Royal Night#333399Bluebell
Questions
- What color is #3E3381?
- #3E3381 is a dark, desaturated blue, closest to the named color Majestic Eggplant. It belongs to the blue family of colors.
- What is the RGB value of #3E3381?
- The RGB value is 62, 51, 129: 62 red, 51 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #3E3381?
- The complementary color is #768133, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E3381?
- White text. Black text has a contrast ratio of 2:1 and white text 10.52:1. WCAG asks for at least 4.5:1 for normal text.