#3A505C color
The hex color #3A505C is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 31.4% green and 36.1% blue (58, 80, 92).
Its hue angle is 201°, with 23% saturation and 29% lightness. For print, the CMYK equivalent is 37% cyan, 13% magenta, 0% yellow and 64% black.
The closest named color is Moonlit Sonata (#37525F), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.46:1).
#3A505C color codes
| HEX | #3A505C | |
|---|---|---|
| RGB | rgb(58, 80, 92) | |
| RGB percent | rgb(22.7%, 31.4%, 36.1%) | |
| HSL | hsl(201, 23%, 29%) | |
| HSV / HSB | hsv(201, 37%, 36%) | |
| CMYK | cmyk(37%, 13%, 0%, 64%) | |
| CIE LAB | lab(32.72, -5.07, -9.73) | |
| CIE LCH | lch(32.72, 10.97, 242.5) | |
| CIE XYZ | xyz(6.545, 7.409, 11.208) | |
| Decimal | 3821660 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A505C, 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 #3A505C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.48:1 | Fail | Fail | Fail |
| Sample text | 8.46:1 | Pass | Pass | Pass |
| #3A505C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.46:1 | Pass | Pass | Pass |
| Sample text | 2.48: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 #3A505C looks to people with the most common types of color vision deficiency.
#4a4f5dProtanopia
no red cones#454b5cDeuteranopia
no green cones#2e5354Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #3a505c; }
.text { color: #3a505c; }
.border { border: 2px solid #3a505c; }
.transparent { background-color: rgb(58 80 92 / 50%); }
.gradient { background: linear-gradient(to right, #3a505c, #3a3f5c); }
Similar colors
#37525fMoonlit Sonata#3e5361Dark Secret#344d58Nocturne#43535eNightfall#3f5865Stargazer#46565fGood Night!#2a4f61Shadow of Night#3b5760Great Void
Closest common color name: Charcoal.
Questions
- What color is #3A505C?
- #3A505C is a dark, grayish azure, closest to the named color Moonlit Sonata. It belongs to the gray family of colors.
- What is the RGB value of #3A505C?
- The RGB value is 58, 80, 92: 58 red, 80 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #3A505C?
- The complementary color is #5C463A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A505C?
- White text. Black text has a contrast ratio of 2.48:1 and white text 8.46:1. WCAG asks for at least 4.5:1 for normal text.