#40353B Color Information

Hex color code: #40353B

The hex color #40353B is a deep magenta with RGB values of (64, 53, 59) and HSL of (327°, 9%, 23%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#40353B
RGB
64, 53, 59
HSL
327°, 9%, 23%
CMYK
0%, 17%, 8%, 75%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40353B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40353B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #40353B; 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 #40353B; background-color: #40353B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40353B20; border-left: 4px solid #40353B; }

Link / Accent

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

a { color: #40353B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40353B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 53, 59

Red: 64 / Green: 53 / Blue: 59

HSL

327°, 9%, 23%

Hue: 327° / Saturation: 9% / Lightness: 23%

CMYK

0%, 17%, 8%, 75%

Cyan: 0% / Magenta: 17% / Yellow: 8% / Key: 75%

What color is #40353B?

#40353B is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40353B to RGB:

rgb(64, 53, 59)HEX to RGB Converter →

HEX to HSL

Convert #40353B to HSL:

hsl(327, 9%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #40353B to CMYK:

cmyk(0%, 17%, 8%, 75%)Color Converter →

Color Meaning and Usage

#40353B is a dramatic magenta color with RGB values of 64, 53, 59 and HSL of 327°, 9%, 23%. This desaturated neutral evokes balance and subtlety, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40353B is #35403A, creating high-contrast pairings. For softer combinations, try analogous colors like #3F3540.

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

Contrast with #40353B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40353B?

#40353B is a dramatic magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #40353B?

#40353B in RGB is (64, 53, 59) - 64 red, 53 green, and 59 blue.

How to use #40353B in CSS?

Use #40353B directly in your CSS properties like color or background-color.

What colors go well with #40353B?

#35403A (complementary), #3F3540 (analogous), and #161315 (lighter shade) work well with #40353B.