#3A3F5B color
The hex color #3A3F5B is a dark, grayish blue.
In the RGB color model it is made of 22.7% red, 24.7% green and 35.7% blue (58, 63, 91).
Its hue angle is 231°, with 22% saturation and 29% lightness. For print, the CMYK equivalent is 36% cyan, 31% magenta, 0% yellow and 64% black.
The closest named color is Genie (#3E4364), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.28:1).
#3A3F5B color codes
| HEX | #3A3F5B | |
|---|---|---|
| RGB | rgb(58, 63, 91) | |
| RGB percent | rgb(22.7%, 24.7%, 35.7%) | |
| HSL | hsl(231, 22%, 29%) | |
| HSV / HSB | hsv(231, 36%, 36%) | |
| CMYK | cmyk(36%, 31%, 0%, 64%) | |
| CIE LAB | lab(27.32, 5.6, -17.35) | |
| CIE LCH | lch(27.32, 18.23, 287.87) | |
| CIE XYZ | xyz(5.41, 5.21, 10.616) | |
| Decimal | 3817307 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3F5B, 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 #3A3F5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.28:1 | Pass | Pass | Pass |
| #3A3F5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.28:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #3A3F5B looks to people with the most common types of color vision deficiency.
#36425cProtanopia
no red cones#343f5aDeuteranopia
no green cones#314449Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #3a3f5b; }
.text { color: #3a3f5b; }
.border { border: 2px solid #3a3f5b; }
.transparent { background-color: rgb(58 63 91 / 50%); }
.gradient { background: linear-gradient(to right, #3a3f5b, #453a5b); }
Similar colors
#3e4364Genie#2e3858Mediaeval Blue#3d3d63Storm Is Coming#3b476bStarlit Night#3a4866Bonne Nuit#2b3458Midnight Escapade#3c4151Lava Stone#34466cForlorn Cruise
Closest common color name: Prussian Blue.
Questions
- What color is #3A3F5B?
- #3A3F5B is a dark, grayish blue, closest to the named color Genie. It belongs to the blue family of colors.
- What is the RGB value of #3A3F5B?
- The RGB value is 58, 63, 91: 58 red, 63 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #3A3F5B?
- The complementary color is #5B563A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3F5B?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.28:1. WCAG asks for at least 4.5:1 for normal text.