#3A374E color
The hex color #3A374E is a dark, grayish blue.
In the RGB color model it is made of 22.7% red, 21.6% green and 30.6% blue (58, 55, 78).
Its hue angle is 248°, with 17% saturation and 26% lightness. For print, the CMYK equivalent is 26% cyan, 29% magenta, 0% yellow and 69% black.
The closest named color is Maharaja (#3F354F), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.44:1).
#3A374E color codes
| HEX | #3A374E | |
|---|---|---|
| RGB | rgb(58, 55, 78) | |
| RGB percent | rgb(22.7%, 21.6%, 30.6%) | |
| HSL | hsl(248, 17%, 26%) | |
| HSV / HSB | hsv(248, 29%, 31%) | |
| CMYK | cmyk(26%, 29%, 0%, 69%) | |
| CIE LAB | lab(24.26, 7.14, -13.56) | |
| CIE LCH | lch(24.26, 15.33, 297.77) | |
| CIE XYZ | xyz(4.486, 4.182, 7.777) | |
| Decimal | 3815246 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A374E, 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 #3A374E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.44:1 | Pass | Pass | Pass |
| #3A374E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.44:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #3A374E looks to people with the most common types of color vision deficiency.
#313a4fProtanopia
no red cones#31394dDeuteranopia
no green cones#363b3fTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #3a374e; }
.text { color: #3a374e; }
.border { border: 2px solid #3a374e; }
.transparent { background-color: rgb(58 55 78 / 50%); }
.gradient { background: linear-gradient(to right, #3a374e, #46374e); }
Similar colors
#3f354fMaharaja#333344Shuriken#2c2e47Midnight Masquerade#42364cCall It a Night#403547Royal Decree#413d4bItalian Grape#3c2f4eSanctum of Shadows#393540Professor Plum
Closest common color name: Dark Purple.
Questions
- What color is #3A374E?
- #3A374E is a dark, grayish blue, closest to the named color Maharaja. It belongs to the blue family of colors.
- What is the RGB value of #3A374E?
- The RGB value is 58, 55, 78: 58 red, 55 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #3A374E?
- The complementary color is #4B4E37, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A374E?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.44:1. WCAG asks for at least 4.5:1 for normal text.