#2D3A3F color
The hex color #2D3A3F is a dark, grayish azure.
In the RGB color model it is made of 17.6% red, 22.7% green and 24.7% blue (45, 58, 63).
Its hue angle is 197°, with 17% saturation and 21% lightness. For print, the CMYK equivalent is 29% cyan, 8% magenta, 0% yellow and 75% black.
The closest named color is Tempest in a Teapot (#303A40), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.74:1).
#2D3A3F color codes
| HEX | #2D3A3F | |
|---|---|---|
| RGB | rgb(45, 58, 63) | |
| RGB percent | rgb(17.6%, 22.7%, 24.7%) | |
| HSL | hsl(197, 17%, 21%) | |
| HSV / HSB | hsv(197, 29%, 25%) | |
| CMYK | cmyk(29%, 8%, 0%, 75%) | |
| CIE LAB | lab(23.48, -3.96, -4.86) | |
| CIE LCH | lch(23.48, 6.26, 230.83) | |
| CIE XYZ | xyz(3.492, 3.943, 5.279) | |
| Decimal | 2964031 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D3A3F, 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 #2D3A3F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.74:1 | Pass | Pass | Pass |
| #2D3A3F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.74: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 #2D3A3F looks to people with the most common types of color vision deficiency.
#37393fProtanopia
no red cones#34373fDeuteranopia
no green cones#283c3cTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #2d3a3f; }
.text { color: #2d3a3f; }
.border { border: 2px solid #2d3a3f; }
.transparent { background-color: rgb(45 58 63 / 50%); }
.gradient { background: linear-gradient(to right, #2d3a3f, #2d313f); }
Similar colors
#303a40Tempest in a Teapot#2a3439Gunmetal#243640Petrol Slumber#293135Nightmare Fuel#203943Astral Nomad#2f3434Phantom Ship#3b444bArsenic#1e3642Into the Night
Questions
- What color is #2D3A3F?
- #2D3A3F is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
- What is the RGB value of #2D3A3F?
- The RGB value is 45, 58, 63: 45 red, 58 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #2D3A3F?
- The complementary color is #3F322D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D3A3F?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.74:1. WCAG asks for at least 4.5:1 for normal text.