#2D343F color
The hex color #2D343F is a dark, grayish azure.
In the RGB color model it is made of 17.6% red, 20.4% green and 24.7% blue (45, 52, 63).
Its hue angle is 217°, with 17% saturation and 21% lightness. For print, the CMYK equivalent is 29% cyan, 17% magenta, 0% yellow and 75% black.
The closest named color is Total Eclipse (#303543), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.54:1).
#2D343F color codes
| HEX | #2D343F | |
|---|---|---|
| RGB | rgb(45, 52, 63) | |
| RGB percent | rgb(17.6%, 20.4%, 24.7%) | |
| HSL | hsl(217, 17%, 21%) | |
| HSV / HSB | hsv(217, 29%, 25%) | |
| CMYK | cmyk(29%, 17%, 0%, 75%) | |
| CIE LAB | lab(21.48, 0.03, -7.87) | |
| CIE LCH | lch(21.48, 7.87, 270.19) | |
| CIE XYZ | xyz(3.207, 3.373, 5.184) | |
| Decimal | 2962495 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D343F, 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 #2D343F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.67:1 | Fail | Fail | Fail |
| Sample text | 12.54:1 | Pass | Pass | Pass |
| #2D343F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.54:1 | Pass | Pass | Pass |
| Sample text | 1.67: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 #2D343F looks to people with the most common types of color vision deficiency.
#303440Protanopia
no red cones#2e333fDeuteranopia
no green cones#283638Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #2d343f; }
.text { color: #2d343f; }
.border { border: 2px solid #2d343f; }
.transparent { background-color: rgb(45 52 63 / 50%); }
.gradient { background: linear-gradient(to right, #2d343f, #2f2d3f); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#393f4bInkblot#222831Infinity#38393fAfter Midnight#37393eArtist’s Charcoal#292b31Night Sky#36383cVulcan
Closest common color name: Gunmetal.
Questions
- What color is #2D343F?
- #2D343F is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2D343F?
- The RGB value is 45, 52, 63: 45 red, 52 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #2D343F?
- The complementary color is #3F382D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D343F?
- White text. Black text has a contrast ratio of 1.67:1 and white text 12.54:1. WCAG asks for at least 4.5:1 for normal text.