#2E2E56 color
The hex color #2E2E56 is a dark, desaturated blue.
In the RGB color model it is made of 18% red, 18% green and 33.7% blue (46, 46, 86).
Its hue angle is 240°, with 30% saturation and 26% lightness. For print, the CMYK equivalent is 47% cyan, 47% magenta, 0% yellow and 66% black.
The closest named color is Deep Sea Base (#2C2C57), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.79:1).
#2E2E56 color codes
| HEX | #2E2E56 | |
|---|---|---|
| RGB | rgb(46, 46, 86) | |
| RGB percent | rgb(18%, 18%, 33.7%) | |
| HSL | hsl(240, 30%, 26%) | |
| HSV / HSB | hsv(240, 47%, 34%) | |
| CMYK | cmyk(47%, 47%, 0%, 66%) | |
| CIE LAB | lab(20.85, 11.86, -24.29) | |
| CIE LCH | lch(20.85, 27.03, 296.03) | |
| CIE XYZ | xyz(3.783, 3.207, 9.222) | |
| Decimal | 3026518 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2E56, 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 #2E2E56 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.79:1 | Pass | Pass | Pass |
| #2E2E56 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.79:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #2E2E56 looks to people with the most common types of color vision deficiency.
#1f3458Protanopia
no red cones#1d3155Deuteranopia
no green cones#21363dTritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #2e2e56; }
.text { color: #2e2e56; }
.border { border: 2px solid #2e2e56; }
.transparent { background-color: rgb(46 46 86 / 50%); }
.gradient { background: linear-gradient(to right, #2e2e56, #422e56); }
Similar colors
#2c2c57Deep Sea Base#322c56Purple Noir#2e305eGalaxea#2a2551Pāua#2b3458Midnight Escapade#372d52Midnight Pie#1d2951Space Cadet#222244Black Market
Closest common color name: Oxford Blue.
Questions
- What color is #2E2E56?
- #2E2E56 is a dark, desaturated blue, closest to the named color Deep Sea Base. It belongs to the blue family of colors.
- What is the RGB value of #2E2E56?
- The RGB value is 46, 46, 86: 46 red, 46 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #2E2E56?
- The complementary color is #56562E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2E56?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.79:1. WCAG asks for at least 4.5:1 for normal text.