#2E2A5A color
The hex color #2E2A5A is a dark, desaturated blue.
In the RGB color model it is made of 18% red, 16.5% green and 35.3% blue (46, 42, 90).
Its hue angle is 245°, with 36% saturation and 26% lightness. For print, the CMYK equivalent is 49% cyan, 53% magenta, 0% yellow and 65% black.
The closest named color is Deep Sea Base (#2C2C57), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.17:1).
#2E2A5A color codes
| HEX | #2E2A5A | |
|---|---|---|
| RGB | rgb(46, 42, 90) | |
| RGB percent | rgb(18%, 16.5%, 35.3%) | |
| HSL | hsl(245, 36%, 26%) | |
| HSV / HSB | hsv(245, 53%, 35%) | |
| CMYK | cmyk(49%, 53%, 0%, 65%) | |
| CIE LAB | lab(19.94, 16.04, -28.4) | |
| CIE LCH | lch(19.94, 32.62, 299.45) | |
| CIE XYZ | xyz(3.8, 2.975, 10.045) | |
| Decimal | 3025498 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2A5A, 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 #2E2A5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.17:1 | Pass | Pass | Pass |
| #2E2A5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.17:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #2E2A5A looks to people with the most common types of color vision deficiency.
#15325cProtanopia
no red cones#132f59Deuteranopia
no green cones#20343dTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #2e2a5a; }
.text { color: #2e2a5a; }
.border { border: 2px solid #2e2a5a; }
.transparent { background-color: rgb(46 42 90 / 50%); }
.gradient { background: linear-gradient(to right, #2e2a5a, #462a5a); }
Similar colors
#2c2c57Deep Sea Base#322c56Purple Noir#2a2551Pāua#2e305eGalaxea#222255Spacescape#372d52Midnight Pie#2e2364Indie Go#1c1e4dFly-by-Night
Closest common color name: Oxford Blue.
Questions
- What color is #2E2A5A?
- #2E2A5A 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 #2E2A5A?
- The RGB value is 46, 42, 90: 46 red, 42 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #2E2A5A?
- The complementary color is #565A2A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2A5A?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.17:1. WCAG asks for at least 4.5:1 for normal text.