#2D404D Color Information

Hex color code: #2D404D

The hex color #2D404D is a intense blue with RGB values of (45, 64, 77) and HSL of (204°, 26%, 24%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#2D404D
RGB
45, 64, 77
HSL
204°, 26%, 24%
CMYK
42%, 17%, 0%, 70%

Shades

CSS Usage
color: #2D404D;
background-color: #2D404D;
border-color: #2D404D;
box-shadow: 0 0 10px #2D404D;
border: 2px solid #2D404D;
Tailwind Usage
bg-[#2D404D]
text-[#2D404D]
border-[#2D404D]
shadow-[0_0_10px_2D404D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2D404D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2D404D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2D404D; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #2D404D; background-color: #2D404D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2D404D20; border-left: 4px solid #2D404D; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #2D404D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2D404D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 64, 77

Red: 45 / Green: 64 / Blue: 77

HSL

204°, 26%, 24%

Hue: 204° / Saturation: 26% / Lightness: 24%

CMYK

42%, 17%, 0%, 70%

Cyan: 42% / Magenta: 17% / Yellow: 0% / Key: 70%

What color is #2D404D?

#2D404D is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D404D to RGB:

rgb(45, 64, 77)HEX to RGB Converter →

HEX to HSL

Convert #2D404D to HSL:

hsl(204, 26%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #2D404D to CMYK:

cmyk(42%, 17%, 0%, 70%)Color Converter →

Color Meaning and Usage

#2D404D is a dramatic blue color with RGB values of 45, 64, 77 and HSL of 204°, 26%, 24%. This cyan-blue hue evokes trust and professionalism, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D404D is #4D3A2D, creating high-contrast pairings. For softer combinations, try analogous colors like #2D4D4A.

Use #2D404D in CSS: color: #2D404D or background-color: #2D404D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #2D404D

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.95:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2D404D?

#2D404D is a dramatic blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #2D404D?

#2D404D in RGB is (45, 64, 77) - 45 red, 64 green, and 77 blue.

How to use #2D404D in CSS?

Use #2D404D directly in your CSS properties like color or background-color.

What colors go well with #2D404D?

#4D3A2D (complementary), #2D4D4A (analogous), and #11181D (lighter shade) work well with #2D404D.