#40494F Color Information

Hex color code: #40494F

#40494F is a neutral blue color. In RGB it is (64, 73, 79), and in HSL it is (204°, 10%, 28%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#40494F
RGB
64, 73, 79
HSL
204°, 10%, 28%
CMYK
19%, 8%, 0%, 69%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40494F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40494F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #40494F; 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 #40494F; background-color: #40494F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40494F20; border-left: 4px solid #40494F; }

Link / Accent

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

a { color: #40494F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40494F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 73, 79

Red: 64 / Green: 73 / Blue: 79

HSL

204°, 10%, 28%

Hue: 204° / Saturation: 10% / Lightness: 28%

CMYK

19%, 8%, 0%, 69%

Cyan: 19% / Magenta: 8% / Yellow: 0% / Key: 69%

What color is #40494F?

#40494F is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40494F to RGB:

rgb(64, 73, 79)HEX to RGB Converter →

HEX to HSL

Convert #40494F to HSL:

hsl(204, 10%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #40494F to CMYK:

cmyk(19%, 8%, 0%, 69%)Color Converter →

Color Meaning and Usage

#40494F is a balanced blue color with RGB values of 64, 73, 79 and HSL of 204°, 10%, 28%. 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 #40494F is #4F4640, creating high-contrast pairings. For softer combinations, try analogous colors like #404F4D.

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

Contrast with #40494F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40494F?

#40494F is a balanced blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #40494F?

#40494F in RGB is (64, 73, 79) - 64 red, 73 green, and 79 blue.

How to use #40494F in CSS?

Use #40494F directly in your CSS properties like color or background-color.

What colors go well with #40494F?

#4F4640 (complementary), #404F4D (analogous), and #1E2224 (lighter shade) work well with #40494F.