#3A525C color
The hex color #3A525C is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 32.2% green and 36.1% blue (58, 82, 92).
Its hue angle is 198°, with 23% saturation and 29% lightness. For print, the CMYK equivalent is 37% cyan, 11% magenta, 0% yellow and 64% black.
The closest named color is Moonlit Sonata (#37525F), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.26:1).
#3A525C color codes
| HEX | #3A525C | |
|---|---|---|
| RGB | rgb(58, 82, 92) | |
| RGB percent | rgb(22.7%, 32.2%, 36.1%) | |
| HSL | hsl(198, 23%, 29%) | |
| HSV / HSB | hsv(198, 37%, 36%) | |
| CMYK | cmyk(37%, 11%, 0%, 64%) | |
| CIE LAB | lab(33.36, -6.3, -8.76) | |
| CIE LCH | lch(33.36, 10.79, 234.28) | |
| CIE XYZ | xyz(6.693, 7.706, 11.258) | |
| Decimal | 3822172 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A525C, 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 #3A525C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.54:1 | Fail | Fail | Fail |
| Sample text | 8.26:1 | Pass | Pass | Pass |
| #3A525C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.26:1 | Pass | Pass | Pass |
| Sample text | 2.54: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 #3A525C looks to people with the most common types of color vision deficiency.
#4d515dProtanopia
no red cones#474d5cDeuteranopia
no green cones#2e5555Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #3a525c; }
.text { color: #3a525c; }
.border { border: 2px solid #3a525c; }
.transparent { background-color: rgb(58 82 92 / 50%); }
.gradient { background: linear-gradient(to right, #3a525c, #3a415c); }
Similar colors
#37525fMoonlit Sonata#344d58Nocturne#3b5760Great Void#3f5865Stargazer#3e5361Dark Secret#46565fGood Night!#43535eNightfall#2a4f61Shadow of Night
Closest common color name: Charcoal.
Questions
- What color is #3A525C?
- #3A525C 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 #3A525C?
- The RGB value is 58, 82, 92: 58 red, 82 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #3A525C?
- The complementary color is #5C443A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A525C?
- White text. Black text has a contrast ratio of 2.54:1 and white text 8.26:1. WCAG asks for at least 4.5:1 for normal text.