#2D2657 color
The hex color #2D2657 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 14.9% green and 34.1% blue (45, 38, 87).
Its hue angle is 249°, with 39% saturation and 25% lightness. For print, the CMYK equivalent is 48% cyan, 56% magenta, 0% yellow and 66% black.
The closest named color is Pāua (#2A2551), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.76:1).
#2D2657 color codes
| HEX | #2D2657 | |
|---|---|---|
| RGB | rgb(45, 38, 87) | |
| RGB percent | rgb(17.6%, 14.9%, 34.1%) | |
| HSL | hsl(249, 39%, 25%) | |
| HSV / HSB | hsv(249, 56%, 34%) | |
| CMYK | cmyk(48%, 56%, 0%, 66%) | |
| CIE LAB | lab(18.51, 17.54, -28.71) | |
| CIE LCH | lch(18.51, 33.64, 301.42) | |
| CIE XYZ | xyz(3.495, 2.632, 9.339) | |
| Decimal | 2958935 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D2657, 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 #2D2657 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.76:1 | Pass | Pass | Pass |
| #2D2657 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.76:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #2D2657 looks to people with the most common types of color vision deficiency.
#0f2e59Protanopia
no red cones#0f2c56Deuteranopia
no green cones#20303aTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #2d2657; }
.text { color: #2d2657; }
.border { border: 2px solid #2d2657; }
.transparent { background-color: rgb(45 38 87 / 50%); }
.gradient { background: linear-gradient(to right, #2d2657, #452657); }
Similar colors
#2a2551Pāua#222255Spacescape#322c56Purple Noir#2c2c57Deep Sea Base#231c4dSilent Orbit#211d49Azulado#372354Stormy Night#1c1e4dFly-by-Night
Closest common color name: Midnight Blue.
Questions
- What color is #2D2657?
- #2D2657 is a dark, desaturated blue, closest to the named color Pāua. It belongs to the blue family of colors.
- What is the RGB value of #2D2657?
- The RGB value is 45, 38, 87: 45 red, 38 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #2D2657?
- The complementary color is #505726, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D2657?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.76:1. WCAG asks for at least 4.5:1 for normal text.