#2E3042 color
The hex color #2E3042 is a dark, grayish blue.
In the RGB color model it is made of 18% red, 18.8% green and 25.9% blue (46, 48, 66).
Its hue angle is 234°, with 18% saturation and 22% lightness. For print, the CMYK equivalent is 30% cyan, 27% magenta, 0% yellow and 74% black.
The closest named color is Shuriken (#333344), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.98:1).
#2E3042 color codes
| HEX | #2E3042 | |
|---|---|---|
| RGB | rgb(46, 48, 66) | |
| RGB percent | rgb(18%, 18.8%, 25.9%) | |
| HSL | hsl(234, 18%, 22%) | |
| HSV / HSB | hsv(234, 30%, 26%) | |
| CMYK | cmyk(30%, 27%, 0%, 74%) | |
| CIE LAB | lab(20.39, 4.02, -11.55) | |
| CIE LCH | lch(20.39, 12.23, 289.2) | |
| CIE XYZ | xyz(3.167, 3.088, 5.582) | |
| Decimal | 3027010 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E3042, 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 #2E3042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.98:1 | Pass | Pass | Pass |
| #2E3042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.98:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #2E3042 looks to people with the most common types of color vision deficiency.
#2b3243Protanopia
no red cones#2a3042Deuteranopia
no green cones#293336Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #2e3042; }
.text { color: #2e3042; }
.border { border: 2px solid #2e3042; }
.transparent { background-color: rgb(46 48 66 / 50%); }
.gradient { background: linear-gradient(to right, #2e3042, #362e42); }
Similar colors
#333344Shuriken#2c2e47Midnight Masquerade#303543Total Eclipse#21263aMidnight Express#35343fWitches Cauldron#2c2a35Haiti#222233Black Velvet#393540Professor Plum
Closest common color name: Jet Black.
Questions
- What color is #2E3042?
- #2E3042 is a dark, grayish blue, closest to the named color Shuriken. It belongs to the gray family of colors.
- What is the RGB value of #2E3042?
- The RGB value is 46, 48, 66: 46 red, 48 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #2E3042?
- The complementary color is #42402E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E3042?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.98:1. WCAG asks for at least 4.5:1 for normal text.