#2D2D82 color
The hex color #2D2D82 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 17.6% green and 51% blue (45, 45, 130).
Its hue angle is 240°, with 49% saturation and 34% lightness. For print, the CMYK equivalent is 65% cyan, 65% magenta, 0% yellow and 49% black.
The closest named color is Intergalactic Highway (#273287), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.61:1).
#2D2D82 color codes
| HEX | #2D2D82 | |
|---|---|---|
| RGB | rgb(45, 45, 130) | |
| RGB percent | rgb(17.6%, 17.6%, 51%) | |
| HSL | hsl(240, 49%, 34%) | |
| HSV / HSB | hsv(240, 65%, 51%) | |
| CMYK | cmyk(65%, 65%, 0%, 49%) | |
| CIE LAB | lab(23.82, 27.97, -47.94) | |
| CIE LCH | lch(23.82, 55.51, 300.26) | |
| CIE XYZ | xyz(6.049, 4.046, 21.577) | |
| Decimal | 2960770 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D2D82, 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 #2D2D82 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.61:1 | Pass | Pass | Pass |
| #2D2D82 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.61:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #2D2D82 looks to people with the most common types of color vision deficiency.
#003c85Protanopia
no red cones#003580Deuteranopia
no green cones#004353Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #2d2d82; }
.text { color: #2d2d82; }
.border { border: 2px solid #2d2d82; }
.transparent { background-color: rgb(45 45 130 / 50%); }
.gradient { background: linear-gradient(to right, #2d2d82, #582d82); }
Similar colors
#273287Intergalactic Highway#2b3191Royal Night#313390Perfect Dark#223382Deep Space Royal#072688Naval Adventures#333399Bluebell#332277Deep Space Rodeo#2c319bDepths of Night
Closest common color name: Midnight Blue.
Questions
- What color is #2D2D82?
- #2D2D82 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 #2D2D82?
- The RGB value is 45, 45, 130: 45 red, 45 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #2D2D82?
- The complementary color is #82822D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D2D82?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.61:1. WCAG asks for at least 4.5:1 for normal text.