#3A4050 color
The hex color #3A4050 is a dark, grayish blue.
In the RGB color model it is made of 22.7% red, 25.1% green and 31.4% blue (58, 64, 80).
Its hue angle is 224°, with 16% saturation and 27% lightness. For print, the CMYK equivalent is 28% cyan, 20% magenta, 0% yellow and 69% black.
The closest named color is Lava Stone (#3C4151), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.35:1).
#3A4050 color codes
| HEX | #3A4050 | |
|---|---|---|
| RGB | rgb(58, 64, 80) | |
| RGB percent | rgb(22.7%, 25.1%, 31.4%) | |
| HSL | hsl(224, 16%, 27%) | |
| HSV / HSB | hsv(224, 28%, 31%) | |
| CMYK | cmyk(28%, 20%, 0%, 69%) | |
| CIE LAB | lab(27.15, 1.7, -10.47) | |
| CIE LCH | lch(27.15, 10.61, 279.23) | |
| CIE XYZ | xyz(5.026, 5.145, 8.316) | |
| Decimal | 3817552 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A4050, 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 #3A4050 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.35:1 | Pass | Pass | Pass |
| #3A4050 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.35:1 | Pass | Pass | Pass |
| Sample text | 2.03: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 #3A4050 looks to people with the most common types of color vision deficiency.
#3b4151Protanopia
no red cones#393f50Deuteranopia
no green cones#344345Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #3a4050; }
.text { color: #3a4050; }
.border { border: 2px solid #3a4050; }
.transparent { background-color: rgb(58 64 80 / 50%); }
.gradient { background: linear-gradient(to right, #3a4050, #3f3a50); }
Similar colors
#3c4151Lava Stone#3f4250Madonna#353f51Dark & Stormy#393f4bInkblot#3f4551Dark Crypt#41434eMidnight Serenade#424753Midnight Sky#303543Total Eclipse
Closest common color name: Charcoal.
Questions
- What color is #3A4050?
- #3A4050 is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the gray family of colors.
- What is the RGB value of #3A4050?
- The RGB value is 58, 64, 80: 58 red, 64 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #3A4050?
- The complementary color is #504A3A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4050?
- White text. Black text has a contrast ratio of 2.03:1 and white text 10.35:1. WCAG asks for at least 4.5:1 for normal text.