#3A4752 color
The hex color #3A4752 is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 27.8% green and 32.2% blue (58, 71, 82).
Its hue angle is 208°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 29% cyan, 13% magenta, 0% yellow and 68% black.
The closest named color is Charcoal (#36454F), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.53:1).
#3A4752 color codes
| HEX | #3A4752 | |
|---|---|---|
| RGB | rgb(58, 71, 82) | |
| RGB percent | rgb(22.7%, 27.8%, 32.2%) | |
| HSL | hsl(208, 17%, 27%) | |
| HSV / HSB | hsv(208, 29%, 32%) | |
| CMYK | cmyk(29%, 13%, 0%, 68%) | |
| CIE LAB | lab(29.45, -2.27, -8.28) | |
| CIE LCH | lch(29.45, 8.58, 254.67) | |
| CIE XYZ | xyz(5.521, 6.015, 8.851) | |
| Decimal | 3819346 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4752, 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 #3A4752 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.53:1 | Pass | Pass | Pass |
| #3A4752 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.53:1 | Pass | Pass | Pass |
| Sample text | 2.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 #3A4752 looks to people with the most common types of color vision deficiency.
#434753Protanopia
no red cones#404452Deuteranopia
no green cones#334a4aTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #3a4752; }
.text { color: #3a4752; }
.border { border: 2px solid #3a4752; }
.transparent { background-color: rgb(58 71 82 / 50%); }
.gradient { background: linear-gradient(to right, #3a4752, #3a3b52); }
Similar colors
#36454fCharcoal#404c57Abyssal#3e4855Starless Night#3b444bArsenic#3f4551Dark Crypt#3d474bLights Out#43535eNightfall#424753Midnight Sky
Questions
- What color is #3A4752?
- #3A4752 is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #3A4752?
- The RGB value is 58, 71, 82: 58 red, 71 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #3A4752?
- The complementary color is #52453A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4752?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.53:1. WCAG asks for at least 4.5:1 for normal text.