#3E4158 color
The hex color #3E4158 is a dark, grayish blue.
In the RGB color model it is made of 24.3% red, 25.5% green and 34.5% blue (62, 65, 88).
Its hue angle is 233°, with 17% saturation and 29% lightness. For print, the CMYK equivalent is 30% cyan, 26% magenta, 0% yellow and 65% black.
The closest named color is Lava Stone (#3C4151), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.99:1).
#3E4158 color codes
| HEX | #3E4158 | |
|---|---|---|
| RGB | rgb(62, 65, 88) | |
| RGB percent | rgb(24.3%, 25.5%, 34.5%) | |
| HSL | hsl(233, 17%, 29%) | |
| HSV / HSB | hsv(233, 30%, 35%) | |
| CMYK | cmyk(30%, 26%, 0%, 65%) | |
| CIE LAB | lab(28.14, 4.74, -14.12) | |
| CIE LCH | lch(28.14, 14.9, 288.57) | |
| CIE XYZ | xyz(5.638, 5.509, 9.997) | |
| Decimal | 4079960 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E4158, 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 #3E4158 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 9.99:1 | Pass | Pass | Pass |
| #3E4158 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.99: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 #3E4158 looks to people with the most common types of color vision deficiency.
#3a4359Protanopia
no red cones#394257Deuteranopia
no green cones#384549Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #3e4158; }
.text { color: #3e4158; }
.border { border: 2px solid #3e4158; }
.transparent { background-color: rgb(62 65 88 / 50%); }
.gradient { background: linear-gradient(to right, #3e4158, #483e58); }
Similar colors
#3c4151Lava Stone#3e4364Genie#3f4250Madonna#413d4bItalian Grape#353f51Dark & Stormy#3a4866Bonne Nuit#2e3858Mediaeval Blue#333344Shuriken
Closest common color name: Charcoal.
Questions
- What color is #3E4158?
- #3E4158 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 #3E4158?
- The RGB value is 62, 65, 88: 62 red, 65 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #3E4158?
- The complementary color is #58553E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E4158?
- White text. Black text has a contrast ratio of 2.1:1 and white text 9.99:1. WCAG asks for at least 4.5:1 for normal text.