#3A3D54 color
The hex color #3A3D54 is a dark, grayish blue.
In the RGB color model it is made of 22.7% red, 23.9% green and 32.9% blue (58, 61, 84).
Its hue angle is 233°, with 18% saturation and 28% lightness. For print, the CMYK equivalent is 31% cyan, 27% magenta, 0% yellow and 67% black.
The closest named color is Lava Stone (#3C4151), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.63:1).
#3A3D54 color codes
| HEX | #3A3D54 | |
|---|---|---|
| RGB | rgb(58, 61, 84) | |
| RGB percent | rgb(22.7%, 23.9%, 32.9%) | |
| HSL | hsl(233, 18%, 28%) | |
| HSV / HSB | hsv(233, 31%, 33%) | |
| CMYK | cmyk(31%, 27%, 0%, 67%) | |
| CIE LAB | lab(26.38, 4.84, -14.25) | |
| CIE LCH | lch(26.38, 15.05, 288.75) | |
| CIE XYZ | xyz(5.013, 4.877, 9.063) | |
| Decimal | 3816788 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3D54, 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 #3A3D54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.63:1 | Pass | Pass | Pass |
| #3A3D54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.63:1 | Pass | Pass | Pass |
| Sample text | 1.98: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 #3A3D54 looks to people with the most common types of color vision deficiency.
#363f55Protanopia
no red cones#353e53Deuteranopia
no green cones#334145Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #3a3d54; }
.text { color: #3a3d54; }
.border { border: 2px solid #3a3d54; }
.transparent { background-color: rgb(58 61 84 / 50%); }
.gradient { background: linear-gradient(to right, #3a3d54, #443a54); }
Similar colors
#3c4151Lava Stone#333344Shuriken#3e4364Genie#2e3858Mediaeval Blue#3f4250Madonna#413d4bItalian Grape#353f51Dark & Stormy#2c2e47Midnight Masquerade
Closest common color name: Charcoal.
Questions
- What color is #3A3D54?
- #3A3D54 is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the blue family of colors.
- What is the RGB value of #3A3D54?
- The RGB value is 58, 61, 84: 58 red, 61 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #3A3D54?
- The complementary color is #54513A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3D54?
- White text. Black text has a contrast ratio of 1.98:1 and white text 10.63:1. WCAG asks for at least 4.5:1 for normal text.