#3A3474 color
The hex color #3A3474 is a dark, desaturated blue.
In the RGB color model it is made of 22.7% red, 20.4% green and 45.5% blue (58, 52, 116).
Its hue angle is 246°, with 38% saturation and 33% lightness. For print, the CMYK equivalent is 50% cyan, 55% magenta, 0% yellow and 55% black.
The closest named color is Galactic Compass (#48357B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.92:1).
#3A3474 color codes
| HEX | #3A3474 | |
|---|---|---|
| RGB | rgb(58, 52, 116) | |
| RGB percent | rgb(22.7%, 20.4%, 45.5%) | |
| HSL | hsl(246, 38%, 33%) | |
| HSV / HSB | hsv(246, 55%, 45%) | |
| CMYK | cmyk(50%, 55%, 0%, 55%) | |
| CIE LAB | lab(25.61, 21.09, -36.13) | |
| CIE LCH | lch(25.61, 41.84, 300.27) | |
| CIE XYZ | xyz(6.124, 4.616, 17.088) | |
| Decimal | 3814516 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3474, 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 #3A3474 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.92:1 | Fail | Fail | Fail |
| Sample text | 10.92:1 | Pass | Pass | Pass |
| #3A3474 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.92:1 | Pass | Pass | Pass |
| Sample text | 1.92: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 #3A3474 looks to people with the most common types of color vision deficiency.
#143f76Protanopia
no red cones#103b73Deuteranopia
no green cones#26424eTritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #3a3474; }
.text { color: #3a3474; }
.border { border: 2px solid #3a3474; }
.transparent { background-color: rgb(58 52 116 / 50%); }
.gradient { background: linear-gradient(to right, #3a3474, #5a3474); }
Similar colors
#48357bGalactic Compass#432e6fHer Highness#333c76Good Karma#363e7dEvening Magic#443388Majestic Eggplant#483d8bDark Slate Blue#2e305eGalaxea#2e2364Indie Go
Questions
- What color is #3A3474?
- #3A3474 is a dark, desaturated blue, closest to the named color Galactic Compass. It belongs to the blue family of colors.
- What is the RGB value of #3A3474?
- The RGB value is 58, 52, 116: 58 red, 52 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #3A3474?
- The complementary color is #6E7434, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3474?
- White text. Black text has a contrast ratio of 1.92:1 and white text 10.92:1. WCAG asks for at least 4.5:1 for normal text.