#2D404D color

#2D404D rgb(45, 64, 77)
Shades of gray

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
RGBrgb(45, 64, 77)
RGB percentrgb(17.6%, 25.1%, 30.2%)
HSLhsl(204, 26%, 24%)
HSV / HSBhsv(204, 42%, 30%)
CMYKcmyk(42%, 17%, 0%, 70%)
CIE LABlab(26.04, -3.68, -10.27)
CIE LCHlch(26.04, 10.91, 250.31)
CIE XYZxyz(4.255, 4.76, 7.714)
Decimal2965581
Short hexNone (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 #2D404DRatioAAAAAAA large
Sample text1.95:1FailFailFail
Sample text10.76:1PassPassPass
#2D404D as text onRatioAAAAAAA large
Sample text10.76:1PassPassPass
Sample text1.95:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.