#2E2B47 color
The hex color #2E2B47 is a dark, grayish blue.
In the RGB color model it is made of 18% red, 16.9% green and 27.8% blue (46, 43, 71).
Its hue angle is 246°, with 25% saturation and 22% lightness. For print, the CMYK equivalent is 35% cyan, 39% magenta, 0% yellow and 72% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.52:1).
#2E2B47 color codes
| HEX | #2E2B47 | |
|---|---|---|
| RGB | rgb(46, 43, 71) | |
| RGB percent | rgb(18%, 16.9%, 27.8%) | |
| HSL | hsl(246, 25%, 22%) | |
| HSV / HSB | hsv(246, 39%, 28%) | |
| CMYK | cmyk(35%, 39%, 0%, 72%) | |
| CIE LAB | lab(19.07, 9.06, -17.01) | |
| CIE LCH | lch(19.07, 19.27, 298.04) | |
| CIE XYZ | xyz(3.128, 2.763, 6.329) | |
| Decimal | 3025735 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2B47, 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 #2E2B47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.52:1 | Pass | Pass | Pass |
| #2E2B47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.52:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #2E2B47 looks to people with the most common types of color vision deficiency.
#232f48Protanopia
no red cones#232e46Deuteranopia
no green cones#283035Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2e2b47; }
.text { color: #2e2b47; }
.border { border: 2px solid #2e2b47; }
.transparent { background-color: rgb(46 43 71 / 50%); }
.gradient { background: linear-gradient(to right, #2e2b47, #3c2b47); }
Similar colors
#2c2e47Midnight Masquerade#2a2243Midnight Velvet#222244Black Market#372d52Midnight Pie#3c2f4eSanctum of Shadows#3f354fMaharaja#322c56Purple Noir#2c2c57Deep Sea Base
Closest common color name: Dark Purple.
Questions
- What color is #2E2B47?
- #2E2B47 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 #2E2B47?
- The RGB value is 46, 43, 71: 46 red, 43 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #2E2B47?
- The complementary color is #44472B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2B47?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.52:1. WCAG asks for at least 4.5:1 for normal text.