#2D2E66 color
The hex color #2D2E66 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 18% green and 40% blue (45, 46, 102).
Its hue angle is 239°, with 39% saturation and 29% lightness. For print, the CMYK equivalent is 56% cyan, 55% magenta, 0% yellow and 60% black.
The closest named color is Galaxea (#2E305E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.39:1).
#2D2E66 color codes
| HEX | #2D2E66 | |
|---|---|---|
| RGB | rgb(45, 46, 102) | |
| RGB percent | rgb(17.6%, 18%, 40%) | |
| HSL | hsl(239, 39%, 29%) | |
| HSV / HSB | hsv(239, 56%, 40%) | |
| CMYK | cmyk(56%, 55%, 0%, 60%) | |
| CIE LAB | lab(21.84, 17.2, -33.25) | |
| CIE LCH | lch(21.84, 37.44, 297.35) | |
| CIE XYZ | xyz(4.457, 3.471, 13.003) | |
| Decimal | 2960998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D2E66, 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 #2D2E66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.39:1 | Pass | Pass | Pass |
| #2D2E66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.39:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #2D2E66 looks to people with the most common types of color vision deficiency.
#113768Protanopia
no red cones#093265Deuteranopia
no green cones#143a45Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #2d2e66; }
.text { color: #2d2e66; }
.border { border: 2px solid #2d2e66; }
.transparent { background-color: rgb(45 46 102 / 50%); }
.gradient { background: linear-gradient(to right, #2d2e66, #482d66); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#1c2e63Mythical Night#2e2364Indie Go#222255Spacescape#222266Intergalactic Cowboy#322c56Purple Noir#2a2551Pāua
Closest common color name: Midnight Blue.
Questions
- What color is #2D2E66?
- #2D2E66 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 #2D2E66?
- The RGB value is 45, 46, 102: 45 red, 46 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #2D2E66?
- The complementary color is #66652D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D2E66?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.39:1. WCAG asks for at least 4.5:1 for normal text.