#2D3951 color
The hex color #2D3951 is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 22.4% green and 31.8% blue (45, 57, 81).
Its hue angle is 220°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 44% cyan, 30% magenta, 0% yellow and 68% black.
The closest named color is Pi (#314159), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.57:1).
#2D3951 color codes
| HEX | #2D3951 | |
|---|---|---|
| RGB | rgb(45, 57, 81) | |
| RGB percent | rgb(17.6%, 22.4%, 31.8%) | |
| HSL | hsl(220, 29%, 25%) | |
| HSV / HSB | hsv(220, 44%, 32%) | |
| CMYK | cmyk(44%, 30%, 0%, 68%) | |
| CIE LAB | lab(23.93, 2.25, -16.16) | |
| CIE LCH | lch(23.93, 16.31, 277.93) | |
| CIE XYZ | xyz(4.03, 4.078, 8.358) | |
| Decimal | 2963793 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D3951, 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 #2D3951 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.57:1 | Pass | Pass | Pass |
| #2D3951 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.57:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #2D3951 looks to people with the most common types of color vision deficiency.
#313b52Protanopia
no red cones#2d3750Deuteranopia
no green cones#213e41Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #2d3951; }
.text { color: #2d3951; }
.border { border: 2px solid #2d3951; }
.transparent { background-color: rgb(45 57 81 / 50%); }
.gradient { background: linear-gradient(to right, #2d3951, #332d51); }
Similar colors
#314159Pi#273c5aNautilus#353f51Dark & Stormy#2e3858Mediaeval Blue#303543Total Eclipse#3c4151Lava Stone#2c4364Black Turmeric#2b3458Midnight Escapade
Closest common color name: Prussian Blue.
Questions
- What color is #2D3951?
- #2D3951 is a dark, desaturated blue, closest to the named color Pi. It belongs to the blue family of colors.
- What is the RGB value of #2D3951?
- The RGB value is 45, 57, 81: 45 red, 57 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #2D3951?
- The complementary color is #51452D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D3951?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.57:1. WCAG asks for at least 4.5:1 for normal text.