#3A505D color
The hex color #3A505D is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 31.4% green and 36.5% blue (58, 80, 93).
Its hue angle is 202°, with 23% saturation and 30% lightness. For print, the CMYK equivalent is 38% cyan, 14% magenta, 0% yellow and 64% black.
The closest named color is Dark Secret (#3E5361), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.45:1).
#3A505D color codes
| HEX | #3A505D | |
|---|---|---|
| RGB | rgb(58, 80, 93) | |
| RGB percent | rgb(22.7%, 31.4%, 36.5%) | |
| HSL | hsl(202, 23%, 30%) | |
| HSV / HSB | hsv(202, 38%, 36%) | |
| CMYK | cmyk(38%, 14%, 0%, 64%) | |
| CIE LAB | lab(32.76, -4.77, -10.31) | |
| CIE LCH | lch(32.76, 11.36, 245.14) | |
| CIE XYZ | xyz(6.589, 7.427, 11.44) | |
| Decimal | 3821661 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A505D, 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 #3A505D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.45:1 | Pass | Pass | Pass |
| #3A505D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.45:1 | Pass | Pass | Pass |
| Sample text | 2.49: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 #3A505D looks to people with the most common types of color vision deficiency.
#4a4f5eProtanopia
no red cones#454b5dDeuteranopia
no green cones#2e5354Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #3a505d; }
.text { color: #3a505d; }
.border { border: 2px solid #3a505d; }
.transparent { background-color: rgb(58 80 93 / 50%); }
.gradient { background: linear-gradient(to right, #3a505d, #3a3f5d); }
Similar colors
#3e5361Dark Secret#37525fMoonlit Sonata#344d58Nocturne#43535eNightfall#3f5865Stargazer#46565fGood Night!#2a4f61Shadow of Night#404c57Abyssal
Closest common color name: Charcoal.
Questions
- What color is #3A505D?
- #3A505D is a dark, grayish azure, closest to the named color Dark Secret. It belongs to the gray family of colors.
- What is the RGB value of #3A505D?
- The RGB value is 58, 80, 93: 58 red, 80 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #3A505D?
- The complementary color is #5D473A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A505D?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.45:1. WCAG asks for at least 4.5:1 for normal text.