#2E2EAA color
The hex color #2E2EAA is a moderate blue.
In the RGB color model it is made of 18% red, 18% green and 66.7% blue (46, 46, 170).
Its hue angle is 240°, with 57% saturation and 42% lightness. For print, the CMYK equivalent is 73% cyan, 73% magenta, 0% yellow and 33% black.
The closest named color is Depths of Night (#2C319B), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.06:1).
#2E2EAA color codes
| HEX | #2E2EAA | |
|---|---|---|
| RGB | rgb(46, 46, 170) | |
| RGB percent | rgb(18%, 18%, 66.7%) | |
| HSL | hsl(240, 57%, 42%) | |
| HSV / HSB | hsv(240, 73%, 67%) | |
| CMYK | cmyk(73%, 73%, 0%, 33%) | |
| CIE LAB | lab(27.94, 41.46, -65.76) | |
| CIE LCH | lch(27.94, 77.74, 302.23) | |
| CIE XYZ | xyz(9.357, 5.436, 38.579) | |
| Decimal | 3026602 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2EAA, 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 #2E2EAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.09:1 | Fail | Fail | Fail |
| Sample text | 10.06:1 | Pass | Pass | Pass |
| #2E2EAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.06:1 | Pass | Pass | Pass |
| Sample text | 2.09: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 #2E2EAA looks to people with the most common types of color vision deficiency.
#0048aeProtanopia
no red cones#003ca8Deuteranopia
no green cones#005169Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #2e2eaa; }
.text { color: #2e2eaa; }
.border { border: 2px solid #2e2eaa; }
.transparent { background-color: rgb(46 46 170 / 50%); }
.gradient { background: linear-gradient(to right, #2e2eaa, #6c2eaa); }
Similar colors
#2c319bDepths of Night#2425b9Sapphire Splendour#333399Bluebell#002fa6International Klein Blue#1034a6Egyptian Blue#0034abBlue Hour#312297Gentian Blue#1c39bbPersian Blue
Questions
- What color is #2E2EAA?
- #2E2EAA is a moderate blue, closest to the named color Depths of Night. It belongs to the blue family of colors.
- What is the RGB value of #2E2EAA?
- The RGB value is 46, 46, 170: 46 red, 46 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #2E2EAA?
- The complementary color is #AAAA2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2EAA?
- White text. Black text has a contrast ratio of 2.09:1 and white text 10.06:1. WCAG asks for at least 4.5:1 for normal text.