#2D404E color
The hex color #2D404E is a dark, desaturated azure.
In the RGB color model it is made of 17.6% red, 25.1% green and 30.6% blue (45, 64, 78).
Its hue angle is 205°, with 27% saturation and 24% lightness. For print, the CMYK equivalent is 42% cyan, 18% magenta, 0% yellow and 69% black.
The closest named color is Depths of the Nile (#253F4E), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.74:1).
#2D404E color codes
| HEX | #2D404E | |
|---|---|---|
| RGB | rgb(45, 64, 78) | |
| RGB percent | rgb(17.6%, 25.1%, 30.6%) | |
| HSL | hsl(205, 27%, 24%) | |
| HSV / HSB | hsv(205, 42%, 31%) | |
| CMYK | cmyk(42%, 18%, 0%, 69%) | |
| CIE LAB | lab(26.08, -3.36, -10.87) | |
| CIE LCH | lch(26.08, 11.38, 252.81) | |
| CIE XYZ | xyz(4.29, 4.774, 7.902) | |
| Decimal | 2965582 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D404E, 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 #2D404E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.74:1 | Pass | Pass | Pass |
| #2D404E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.74:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #2D404E looks to people with the most common types of color vision deficiency.
#3a404fProtanopia
no red cones#363c4eDeuteranopia
no green cones#214345Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #2d404e; }
.text { color: #2d404e; }
.border { border: 2px solid #2d404e; }
.transparent { background-color: rgb(45 64 78 / 50%); }
.gradient { background: linear-gradient(to right, #2d404e, #2d2f4e); }
Similar colors
#253f4eDepths of the Nile#36454fCharcoal#29465bOne Year of Rain#243640Petrol Slumber#1e3442Blue Whale#1e3642Into the Night#1a4157Capital Blue#3b444bArsenic
Questions
- What color is #2D404E?
- #2D404E is a dark, desaturated azure, closest to the named color Depths of the Nile. It belongs to the gray family of colors.
- What is the RGB value of #2D404E?
- The RGB value is 45, 64, 78: 45 red, 64 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #2D404E?
- The complementary color is #4E3B2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D404E?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.74:1. WCAG asks for at least 4.5:1 for normal text.