#2E2B7D color
The hex color #2E2B7D is a dark, desaturated blue.
In the RGB color model it is made of 18% red, 16.9% green and 49% blue (46, 43, 125).
Its hue angle is 242°, with 49% saturation and 33% lightness. For print, the CMYK equivalent is 63% cyan, 66% magenta, 0% yellow and 51% black.
The closest named color is Intergalactic Highway (#273287), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.95:1).
#2E2B7D color codes
| HEX | #2E2B7D | |
|---|---|---|
| RGB | rgb(46, 43, 125) | |
| RGB percent | rgb(18%, 16.9%, 49%) | |
| HSL | hsl(242, 49%, 33%) | |
| HSV / HSB | hsv(242, 66%, 49%) | |
| CMYK | cmyk(63%, 66%, 0%, 51%) | |
| CIE LAB | lab(22.96, 27.67, -46.19) | |
| CIE LCH | lch(22.96, 53.85, 300.93) | |
| CIE XYZ | xyz(5.691, 3.789, 19.829) | |
| Decimal | 3025789 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2B7D, 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 #2E2B7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.95:1 | Pass | Pass | Pass |
| #2E2B7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.95:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #2E2B7D looks to people with the most common types of color vision deficiency.
#003a80Protanopia
no red cones#00337bDeuteranopia
no green cones#00404fTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #2e2b7d; }
.text { color: #2e2b7d; }
.border { border: 2px solid #2e2b7d; }
.transparent { background-color: rgb(46 43 125 / 50%); }
.gradient { background: linear-gradient(to right, #2e2b7d, #572b7d); }
Similar colors
#273287Intergalactic Highway#332277Deep Space Rodeo#313390Perfect Dark#2b3191Royal Night#223382Deep Space Royal#112473Midnight Crest#072688Naval Adventures#443388Majestic Eggplant
Closest common color name: Midnight Blue.
Questions
- What color is #2E2B7D?
- #2E2B7D is a dark, desaturated blue, closest to the named color Intergalactic Highway. It belongs to the blue family of colors.
- What is the RGB value of #2E2B7D?
- The RGB value is 46, 43, 125: 46 red, 43 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #2E2B7D?
- The complementary color is #7A7D2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2B7D?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.95:1. WCAG asks for at least 4.5:1 for normal text.