#2E51A7 color
The hex color #2E51A7 is a moderate blue.
In the RGB color model it is made of 18% red, 31.8% green and 65.5% blue (46, 81, 167).
Its hue angle is 223°, with 57% saturation and 42% lightness. For print, the CMYK equivalent is 72% cyan, 51% magenta, 0% yellow and 35% black.
The closest named color is Blasphemous Blue (#3356AA), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.37:1).
#2E51A7 color codes
| HEX | #2E51A7 | |
|---|---|---|
| RGB | rgb(46, 81, 167) | |
| RGB percent | rgb(18%, 31.8%, 65.5%) | |
| HSL | hsl(223, 57%, 42%) | |
| HSV / HSB | hsv(223, 72%, 65%) | |
| CMYK | cmyk(72%, 51%, 0%, 35%) | |
| CIE LAB | lab(36.47, 17.81, -50.04) | |
| CIE LCH | lch(36.47, 53.12, 289.59) | |
| CIE XYZ | xyz(11.042, 9.255, 37.756) | |
| Decimal | 3035559 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E51A7, 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 #2E51A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.37:1 | Pass | Pass | Pass |
| #2E51A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.37:1 | Pass | Pass | Pass |
| Sample text | 2.85: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 #2E51A7 looks to people with the most common types of color vision deficiency.
#1c5caaProtanopia
no red cones#0051a5Deuteranopia
no green cones#006574Tritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #2e51a7; }
.text { color: #2e51a7; }
.border { border: 2px solid #2e51a7; }
.transparent { background-color: rgb(46 81 167 / 50%); }
.gradient { background: linear-gradient(to right, #2e51a7, #482ea7); }
Similar colors
#3356aaBlasphemous Blue#0f52baSapphire#244e94Le Grand Bleu#2e5090Nightly Activities#0047abCobalt Blue#225599Fist of the North Star#234893Cascade Twilight#1c4d8fDancing Sea
Questions
- What color is #2E51A7?
- #2E51A7 is a moderate blue, closest to the named color Blasphemous Blue. It belongs to the blue family of colors.
- What is the RGB value of #2E51A7?
- The RGB value is 46, 81, 167: 46 red, 81 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #2E51A7?
- The complementary color is #A7842E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E51A7?
- White text. Black text has a contrast ratio of 2.85:1 and white text 7.37:1. WCAG asks for at least 4.5:1 for normal text.