#2D2E79 color
The hex color #2D2E79 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 18% green and 47.5% blue (45, 46, 121).
Its hue angle is 239°, with 46% saturation and 33% lightness. For print, the CMYK equivalent is 63% cyan, 62% magenta, 0% yellow and 53% black.
The closest named color is Intergalactic Highway (#273287), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.81:1).
#2D2E79 color codes
| HEX | #2D2E79 | |
|---|---|---|
| RGB | rgb(45, 46, 121) | |
| RGB percent | rgb(17.6%, 18%, 47.5%) | |
| HSL | hsl(239, 46%, 33%) | |
| HSV / HSB | hsv(239, 63%, 47%) | |
| CMYK | cmyk(63%, 62%, 0%, 53%) | |
| CIE LAB | lab(23.31, 24.06, -43.09) | |
| CIE LCH | lch(23.31, 49.35, 299.18) | |
| CIE XYZ | xyz(5.509, 3.892, 18.546) | |
| Decimal | 2961017 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D2E79, 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 #2D2E79 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.81:1 | Pass | Pass | Pass |
| #2D2E79 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.81:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #2D2E79 looks to people with the most common types of color vision deficiency.
#003b7bProtanopia
no red cones#003477Deuteranopia
no green cones#00404eTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #2d2e79; }
.text { color: #2d2e79; }
.border { border: 2px solid #2d2e79; }
.transparent { background-color: rgb(45 46 121 / 50%); }
.gradient { background: linear-gradient(to right, #2d2e79, #522d79); }
Similar colors
#273287Intergalactic Highway#223382Deep Space Royal#313390Perfect Dark#1c3378Twilight Express#112473Midnight Crest#2b3191Royal Night#222266Intergalactic Cowboy#332277Deep Space Rodeo
Closest common color name: Dark Slate Blue.
Questions
- What color is #2D2E79?
- #2D2E79 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 #2D2E79?
- The RGB value is 45, 46, 121: 45 red, 46 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #2D2E79?
- The complementary color is #79782D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D2E79?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.81:1. WCAG asks for at least 4.5:1 for normal text.