#2D404D color
The hex color #2D404D is a dark, desaturated azure.
In the RGB color model it is made of 17.6% red, 25.1% green and 30.2% blue (45, 64, 77).
Its hue angle is 204°, with 26% saturation and 24% lightness. For print, the CMYK equivalent is 42% cyan, 17% magenta, 0% yellow and 70% black.
The closest named color is Depths of the Nile (#253F4E), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.76:1).
#2D404D color codes
| HEX | #2D404D | |
|---|---|---|
| RGB | rgb(45, 64, 77) | |
| RGB percent | rgb(17.6%, 25.1%, 30.2%) | |
| HSL | hsl(204, 26%, 24%) | |
| HSV / HSB | hsv(204, 42%, 30%) | |
| CMYK | cmyk(42%, 17%, 0%, 70%) | |
| CIE LAB | lab(26.04, -3.68, -10.27) | |
| CIE LCH | lch(26.04, 10.91, 250.31) | |
| CIE XYZ | xyz(4.255, 4.76, 7.714) | |
| Decimal | 2965581 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D404D, 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 #2D404D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.76:1 | Pass | Pass | Pass |
| #2D404D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.76: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 #2D404D looks to people with the most common types of color vision deficiency.
#3a404eProtanopia
no red cones#363c4dDeuteranopia
no green cones#224344Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #2d404d; }
.text { color: #2d404d; }
.border { border: 2px solid #2d404d; }
.transparent { background-color: rgb(45 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #2d404d, #2d304d); }
Similar colors
#253f4eDepths of the Nile#36454fCharcoal#243640Petrol Slumber#29465bOne Year of Rain#1e3642Into the Night#1e3442Blue Whale#203943Astral Nomad#303a40Tempest in a Teapot
Questions
- What color is #2D404D?
- #2D404D 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 #2D404D?
- The RGB value is 45, 64, 77: 45 red, 64 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #2D404D?
- The complementary color is #4D3A2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D404D?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.76:1. WCAG asks for at least 4.5:1 for normal text.