#3A3557 color
The hex color #3A3557 is a dark, grayish blue.
In the RGB color model it is made of 22.7% red, 20.8% green and 34.1% blue (58, 53, 87).
Its hue angle is 249°, with 24% saturation and 27% lightness. For print, the CMYK equivalent is 33% cyan, 39% magenta, 0% yellow and 66% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.5:1).
#3A3557 color codes
| HEX | #3A3557 | |
|---|---|---|
| RGB | rgb(58, 53, 87) | |
| RGB percent | rgb(22.7%, 20.8%, 34.1%) | |
| HSL | hsl(249, 24%, 27%) | |
| HSV / HSB | hsv(249, 39%, 34%) | |
| CMYK | cmyk(33%, 39%, 0%, 66%) | |
| CIE LAB | lab(24.11, 11.13, -19.75) | |
| CIE LCH | lch(24.11, 22.67, 299.41) | |
| CIE XYZ | xyz(4.738, 4.134, 9.563) | |
| Decimal | 3814743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3557, 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 #3A3557 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.5:1 | Pass | Pass | Pass |
| #3A3557 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.5:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #3A3557 looks to people with the most common types of color vision deficiency.
#2b3a58Protanopia
no red cones#2b3956Deuteranopia
no green cones#333b42Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #3a3557; }
.text { color: #3a3557; }
.border { border: 2px solid #3a3557; }
.transparent { background-color: rgb(58 53 87 / 50%); }
.gradient { background: linear-gradient(to right, #3a3557, #4b3557); }
Similar colors
#372d52Midnight Pie#3d3d63Storm Is Coming#3c2f4eSanctum of Shadows#3f354fMaharaja#322c56Purple Noir#2c2c57Deep Sea Base#2e305eGalaxea#2b3458Midnight Escapade
Closest common color name: Dark Purple.
Questions
- What color is #3A3557?
- #3A3557 is a dark, grayish blue, closest to the named color Midnight Pie. It belongs to the blue family of colors.
- What is the RGB value of #3A3557?
- The RGB value is 58, 53, 87: 58 red, 53 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #3A3557?
- The complementary color is #525735, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3557?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.5:1. WCAG asks for at least 4.5:1 for normal text.