#2A2E5F color
The hex color #2A2E5F is a dark, desaturated blue.
In the RGB color model it is made of 16.5% red, 18% green and 37.3% blue (42, 46, 95).
Its hue angle is 235°, with 39% saturation and 27% lightness. For print, the CMYK equivalent is 56% cyan, 52% magenta, 0% yellow and 63% black.
The closest named color is Galaxea (#2E305E), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.69:1).
#2A2E5F color codes
| HEX | #2A2E5F | |
|---|---|---|
| RGB | rgb(42, 46, 95) | |
| RGB percent | rgb(16.5%, 18%, 37.3%) | |
| HSL | hsl(235, 39%, 27%) | |
| HSV / HSB | hsv(235, 56%, 37%) | |
| CMYK | cmyk(56%, 52%, 0%, 63%) | |
| CIE LAB | lab(21.1, 13.95, -29.87) | |
| CIE LCH | lch(21.1, 32.96, 295.03) | |
| CIE XYZ | xyz(3.997, 3.272, 11.245) | |
| Decimal | 2764383 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A2E5F, 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 #2A2E5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.69:1 | Pass | Pass | Pass |
| #2A2E5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.69:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #2A2E5F looks to people with the most common types of color vision deficiency.
#173561Protanopia
no red cones#12315eDeuteranopia
no green cones#133942Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #2a2e5f; }
.text { color: #2a2e5f; }
.border { border: 2px solid #2a2e5f; }
.transparent { background-color: rgb(42 46 95 / 50%); }
.gradient { background: linear-gradient(to right, #2a2e5f, #412a5f); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#1c2e63Mythical Night#1d2951Space Cadet#322c56Purple Noir#222255Spacescape#2b3458Midnight Escapade#2a2551Pāua
Closest common color name: Oxford Blue.
Questions
- What color is #2A2E5F?
- #2A2E5F is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #2A2E5F?
- The RGB value is 42, 46, 95: 42 red, 46 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #2A2E5F?
- The complementary color is #5F5B2A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A2E5F?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.69:1. WCAG asks for at least 4.5:1 for normal text.