#2E2B43 color
The hex color #2E2B43 is a dark, grayish blue.
In the RGB color model it is made of 18% red, 16.9% green and 26.3% blue (46, 43, 67).
Its hue angle is 248°, with 22% saturation and 22% lightness. For print, the CMYK equivalent is 31% cyan, 36% magenta, 0% yellow and 74% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.61:1).
#2E2B43 color codes
| HEX | #2E2B43 | |
|---|---|---|
| RGB | rgb(46, 43, 67) | |
| RGB percent | rgb(18%, 16.9%, 26.3%) | |
| HSL | hsl(248, 22%, 22%) | |
| HSV / HSB | hsv(248, 36%, 26%) | |
| CMYK | cmyk(31%, 36%, 0%, 74%) | |
| CIE LAB | lab(18.86, 7.82, -14.6) | |
| CIE LCH | lch(18.86, 16.57, 298.17) | |
| CIE XYZ | xyz(3.003, 2.714, 5.675) | |
| Decimal | 3025731 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2B43, 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 #2E2B43 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.61:1 | Pass | Pass | Pass |
| #2E2B43 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.61:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #2E2B43 looks to people with the most common types of color vision deficiency.
#252e44Protanopia
no red cones#242d42Deuteranopia
no green cones#292f34Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2e2b43; }
.text { color: #2e2b43; }
.border { border: 2px solid #2e2b43; }
.transparent { background-color: rgb(46 43 67 / 50%); }
.gradient { background: linear-gradient(to right, #2e2b43, #3a2b43); }
Similar colors
#2c2e47Midnight Masquerade#333344Shuriken#222233Black Velvet#3f354fMaharaja#2a2243Midnight Velvet#21263aMidnight Express#222244Black Market#3c2f4eSanctum of Shadows
Closest common color name: Dark Purple.
Questions
- What color is #2E2B43?
- #2E2B43 is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #2E2B43?
- The RGB value is 46, 43, 67: 46 red, 43 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #2E2B43?
- The complementary color is #40432B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2B43?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.61:1. WCAG asks for at least 4.5:1 for normal text.