#3A5177 color
The hex color #3A5177 is a dark, desaturated azure.
In the RGB color model it is made of 22.7% red, 31.8% green and 46.7% blue (58, 81, 119).
Its hue angle is 217°, with 34% saturation and 35% lightness. For print, the CMYK equivalent is 51% cyan, 32% magenta, 0% yellow and 53% black.
The closest named color is St. Tropaz (#39527D), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.01:1).
#3A5177 color codes
| HEX | #3A5177 | |
|---|---|---|
| RGB | rgb(58, 81, 119) | |
| RGB percent | rgb(22.7%, 31.8%, 46.7%) | |
| HSL | hsl(217, 34%, 35%) | |
| HSV / HSB | hsv(217, 51%, 47%) | |
| CMYK | cmyk(51%, 32%, 0%, 53%) | |
| CIE LAB | lab(34.22, 2.79, -24.37) | |
| CIE LCH | lch(34.22, 24.53, 276.53) | |
| CIE XYZ | xyz(8.016, 8.116, 18.593) | |
| Decimal | 3821943 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A5177, 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 #3A5177 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.01:1 | Pass | Pass | Pass |
| #3A5177 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.01:1 | Pass | Pass | Pass |
| Sample text | 2.62: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 #3A5177 looks to people with the most common types of color vision deficiency.
#425479Protanopia
no red cones#3b4e76Deuteranopia
no green cones#1f595eTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #3a5177; }
.text { color: #3a5177; }
.border { border: 2px solid #3a5177; }
.transparent { background-color: rgb(58 81 119 / 50%); }
.gradient { background: linear-gradient(to right, #3a5177, #413a77); }
Similar colors
#39527dSt. Tropaz#394d78Noble Knight#314a76Dragonfly#384b6bNaval Blue#32496fMidnight Interlude#445780Sailor#2d517cSlumber#2d4f83Assassin
Closest common color name: Dark Slate Blue.
Questions
- What color is #3A5177?
- #3A5177 is a dark, desaturated azure, closest to the named color St. Tropaz. It belongs to the blue family of colors.
- What is the RGB value of #3A5177?
- The RGB value is 58, 81, 119: 58 red, 81 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #3A5177?
- The complementary color is #77603A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A5177?
- White text. Black text has a contrast ratio of 2.62:1 and white text 8.01:1. WCAG asks for at least 4.5:1 for normal text.