#3A3A80 color
The hex color #3A3A80 is a dark, desaturated blue.
In the RGB color model it is made of 22.7% red, 22.7% green and 50.2% blue (58, 58, 128).
Its hue angle is 240°, with 38% saturation and 36% lightness. For print, the CMYK equivalent is 55% cyan, 55% magenta, 0% yellow and 50% black.
The closest named color is Evening Magic (#363E7D), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.02:1).
#3A3A80 color codes
| HEX | #3A3A80 | |
|---|---|---|
| RGB | rgb(58, 58, 128) | |
| RGB percent | rgb(22.7%, 22.7%, 50.2%) | |
| HSL | hsl(240, 38%, 36%) | |
| HSV / HSB | hsv(240, 55%, 50%) | |
| CMYK | cmyk(55%, 55%, 0%, 50%) | |
| CIE LAB | lab(28.07, 21.14, -39.75) | |
| CIE LCH | lch(28.07, 45.02, 298) | |
| CIE XYZ | xyz(7.153, 5.484, 21.099) | |
| Decimal | 3816064 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3A80, 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 #3A3A80 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 10.02:1 | Pass | Pass | Pass |
| #3A3A80 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.02:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #3A3A80 looks to people with the most common types of color vision deficiency.
#144582Protanopia
no red cones#09407fDeuteranopia
no green cones#1c4a57Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #3a3a80; }
.text { color: #3a3a80; }
.border { border: 2px solid #3a3a80; }
.transparent { background-color: rgb(58 58 128 / 50%); }
.gradient { background: linear-gradient(to right, #3a3a80, #5d3a80); }
Similar colors
#363e7dEvening Magic#333c76Good Karma#483d8bDark Slate Blue#3d4585Queen of the Night Shift#273287Intergalactic Highway#443388Majestic Eggplant#223382Deep Space Royal#313390Perfect Dark
Questions
- What color is #3A3A80?
- #3A3A80 is a dark, desaturated blue, closest to the named color Evening Magic. It belongs to the blue family of colors.
- What is the RGB value of #3A3A80?
- The RGB value is 58, 58, 128: 58 red, 58 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #3A3A80?
- The complementary color is #80803A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3A80?
- White text. Black text has a contrast ratio of 2.1:1 and white text 10.02:1. WCAG asks for at least 4.5:1 for normal text.