#2D3042 color
The hex color #2D3042 is a dark, grayish blue.
In the RGB color model it is made of 17.6% red, 18.8% green and 25.9% blue (45, 48, 66).
Its hue angle is 231°, with 19% saturation and 22% lightness. For print, the CMYK equivalent is 32% cyan, 27% magenta, 0% yellow and 74% black.
The closest named color is Shuriken (#333344), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.02:1).
#2D3042 color codes
| HEX | #2D3042 | |
|---|---|---|
| RGB | rgb(45, 48, 66) | |
| RGB percent | rgb(17.6%, 18.8%, 25.9%) | |
| HSL | hsl(231, 19%, 22%) | |
| HSV / HSB | hsv(231, 32%, 26%) | |
| CMYK | cmyk(32%, 27%, 0%, 74%) | |
| CIE LAB | lab(20.3, 3.66, -11.7) | |
| CIE LCH | lch(20.3, 12.26, 287.35) | |
| CIE XYZ | xyz(3.122, 3.065, 5.58) | |
| Decimal | 2961474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D3042, 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 #2D3042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.02:1 | Pass | Pass | Pass |
| #2D3042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.02:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #2D3042 looks to people with the most common types of color vision deficiency.
#2b3243Protanopia
no red cones#293042Deuteranopia
no green cones#283336Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #2d3042; }
.text { color: #2d3042; }
.border { border: 2px solid #2d3042; }
.transparent { background-color: rgb(45 48 66 / 50%); }
.gradient { background: linear-gradient(to right, #2d3042, #352d42); }
Similar colors
#333344Shuriken#303543Total Eclipse#2c2e47Midnight Masquerade#21263aMidnight Express#35343fWitches Cauldron#2c2a35Haiti#222233Black Velvet#1e2433Moonless Mystery
Closest common color name: Gunmetal.
Questions
- What color is #2D3042?
- #2D3042 is a dark, grayish blue, closest to the named color Shuriken. It belongs to the gray family of colors.
- What is the RGB value of #2D3042?
- The RGB value is 45, 48, 66: 45 red, 48 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #2D3042?
- The complementary color is #423F2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D3042?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.02:1. WCAG asks for at least 4.5:1 for normal text.