#2D276C color
The hex color #2D276C is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 15.3% green and 42.4% blue (45, 39, 108).
Its hue angle is 245°, with 47% saturation and 29% lightness. For print, the CMYK equivalent is 58% cyan, 64% magenta, 0% yellow and 58% black.
The closest named color is Indie Go (#2E2364), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.98:1).
#2D276C color codes
| HEX | #2D276C | |
|---|---|---|
| RGB | rgb(45, 39, 108) | |
| RGB percent | rgb(17.6%, 15.3%, 42.4%) | |
| HSL | hsl(245, 47%, 29%) | |
| HSV / HSB | hsv(245, 64%, 42%) | |
| CMYK | cmyk(58%, 64%, 0%, 58%) | |
| CIE LAB | lab(20.41, 24.14, -39.47) | |
| CIE LCH | lch(20.41, 46.26, 301.45) | |
| CIE XYZ | xyz(4.514, 3.091, 14.543) | |
| Decimal | 2959212 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D276C, 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 #2D276C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.98:1 | Pass | Pass | Pass |
| #2D276C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.98:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #2D276C looks to people with the most common types of color vision deficiency.
#00346eProtanopia
no red cones#002f6bDeuteranopia
no green cones#0e3845Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #2d276c; }
.text { color: #2d276c; }
.border { border: 2px solid #2d276c; }
.transparent { background-color: rgb(45 39 108 / 50%); }
.gradient { background: linear-gradient(to right, #2d276c, #50276c); }
Similar colors
#2e2364Indie Go#222266Intergalactic Cowboy#332266Dark Dreams#332277Deep Space Rodeo#112473Midnight Crest#3a1f76Explorer of the Galaxies#222255Spacescape#432e6fHer Highness
Closest common color name: Midnight Blue.
Questions
- What color is #2D276C?
- #2D276C is a dark, desaturated blue, closest to the named color Indie Go. It belongs to the blue family of colors.
- What is the RGB value of #2D276C?
- The RGB value is 45, 39, 108: 45 red, 39 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #2D276C?
- The complementary color is #666C27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D276C?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.98:1. WCAG asks for at least 4.5:1 for normal text.