#3D4159 color
The hex color #3D4159 is a dark, grayish blue.
In the RGB color model it is made of 23.9% red, 25.5% green and 34.9% blue (61, 65, 89).
Its hue angle is 231°, with 19% saturation and 29% lightness. For print, the CMYK equivalent is 31% cyan, 27% magenta, 0% yellow and 65% black.
The closest named color is Genie (#3E4364), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.01:1).
#3D4159 color codes
| HEX | #3D4159 | |
|---|---|---|
| RGB | rgb(61, 65, 89) | |
| RGB percent | rgb(23.9%, 25.5%, 34.9%) | |
| HSL | hsl(231, 19%, 29%) | |
| HSV / HSB | hsv(231, 31%, 35%) | |
| CMYK | cmyk(31%, 27%, 0%, 65%) | |
| CIE LAB | lab(28.1, 4.69, -14.84) | |
| CIE LCH | lch(28.1, 15.57, 287.52) | |
| CIE XYZ | xyz(5.617, 5.494, 10.214) | |
| Decimal | 4014425 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D4159, 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 #3D4159 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 10.01:1 | Pass | Pass | Pass |
| #3D4159 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.01:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #3D4159 looks to people with the most common types of color vision deficiency.
#3a435aProtanopia
no red cones#384158Deuteranopia
no green cones#364549Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #3d4159; }
.text { color: #3d4159; }
.border { border: 2px solid #3d4159; }
.transparent { background-color: rgb(61 65 89 / 50%); }
.gradient { background: linear-gradient(to right, #3d4159, #473d59); }
Similar colors
#3e4364Genie#3c4151Lava Stone#3f4250Madonna#3a4866Bonne Nuit#2e3858Mediaeval Blue#353f51Dark & Stormy#3b476bStarlit Night#314159Pi
Closest common color name: Charcoal.
Questions
- What color is #3D4159?
- #3D4159 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 #3D4159?
- The RGB value is 61, 65, 89: 61 red, 65 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #3D4159?
- The complementary color is #59553D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D4159?
- White text. Black text has a contrast ratio of 2.1:1 and white text 10.01:1. WCAG asks for at least 4.5:1 for normal text.