#2D3946 color
The hex color #2D3946 is a dark, grayish azure.
In the RGB color model it is made of 17.6% red, 22.4% green and 27.5% blue (45, 57, 70).
Its hue angle is 211°, with 22% saturation and 23% lightness. For print, the CMYK equivalent is 36% cyan, 19% magenta, 0% yellow and 73% black.
The closest named color is Do Not Disturb (#363B43), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.76:1).
#2D3946 color codes
| HEX | #2D3946 | |
|---|---|---|
| RGB | rgb(45, 57, 70) | |
| RGB percent | rgb(17.6%, 22.4%, 27.5%) | |
| HSL | hsl(211, 22%, 23%) | |
| HSV / HSB | hsv(211, 36%, 27%) | |
| CMYK | cmyk(36%, 19%, 0%, 73%) | |
| CIE LAB | lab(23.43, -1.24, -9.62) | |
| CIE LCH | lch(23.43, 9.7, 262.64) | |
| CIE XYZ | xyz(3.65, 3.926, 6.359) | |
| Decimal | 2963782 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D3946, 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 #2D3946 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.76:1 | Pass | Pass | Pass |
| #2D3946 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.76:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #2D3946 looks to people with the most common types of color vision deficiency.
#343947Protanopia
no red cones#313746Deuteranopia
no green cones#253c3dTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #2d3946; }
.text { color: #2d3946; }
.border { border: 2px solid #2d3946; }
.transparent { background-color: rgb(45 57 70 / 50%); }
.gradient { background: linear-gradient(to right, #2d3946, #2e2d46); }
Similar colors
#363b43Do Not Disturb#393f4bInkblot#353f51Dark & Stormy#303a40Tempest in a Teapot#243640Petrol Slumber#1e3442Blue Whale#303543Total Eclipse#36454fCharcoal
Questions
- What color is #2D3946?
- #2D3946 is a dark, grayish azure, closest to the named color Do Not Disturb. It belongs to the gray family of colors.
- What is the RGB value of #2D3946?
- The RGB value is 45, 57, 70: 45 red, 57 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #2D3946?
- The complementary color is #463A2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D3946?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.76:1. WCAG asks for at least 4.5:1 for normal text.