#2E2758 color
The hex color #2E2758 is a dark, desaturated blue.
In the RGB color model it is made of 18% red, 15.3% green and 34.5% blue (46, 39, 88).
Its hue angle is 249°, with 39% saturation and 25% lightness. For print, the CMYK equivalent is 48% cyan, 56% magenta, 0% yellow and 65% black.
The closest named color is Pāua (#2A2551), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.57:1).
#2E2758 color codes
| HEX | #2E2758 | |
|---|---|---|
| RGB | rgb(46, 39, 88) | |
| RGB percent | rgb(18%, 15.3%, 34.5%) | |
| HSL | hsl(249, 39%, 25%) | |
| HSV / HSB | hsv(249, 56%, 35%) | |
| CMYK | cmyk(48%, 56%, 0%, 65%) | |
| CIE LAB | lab(18.96, 17.45, -28.65) | |
| CIE LCH | lch(18.96, 33.55, 301.35) | |
| CIE XYZ | xyz(3.613, 2.736, 9.568) | |
| Decimal | 3024728 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2758, 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 #2E2758 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.57:1 | Pass | Pass | Pass |
| #2E2758 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.57: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 #2E2758 looks to people with the most common types of color vision deficiency.
#112f5aProtanopia
no red cones#102d57Deuteranopia
no green cones#21313bTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2e2758; }
.text { color: #2e2758; }
.border { border: 2px solid #2e2758; }
.transparent { background-color: rgb(46 39 88 / 50%); }
.gradient { background: linear-gradient(to right, #2e2758, #462758); }
Similar colors
#2a2551Pāua#322c56Purple Noir#2c2c57Deep Sea Base#222255Spacescape#2e305eGalaxea#231c4dSilent Orbit#372354Stormy Night#211d49Azulado
Closest common color name: Midnight Blue.
Questions
- What color is #2E2758?
- #2E2758 is a dark, desaturated blue, closest to the named color Pāua. It belongs to the blue family of colors.
- What is the RGB value of #2E2758?
- The RGB value is 46, 39, 88: 46 red, 39 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #2E2758?
- The complementary color is #515827, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2758?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.57:1. WCAG asks for at least 4.5:1 for normal text.