#40434F Color Information

Hex color code: #40434F

The hex color #40434F is a understated blue with RGB values of (64, 67, 79) and HSL of (228°, 10%, 28%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#40434F
RGB
64, 67, 79
HSL
228°, 10%, 28%
CMYK
19%, 15%, 0%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40434F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 67, 79

Red: 64 / Green: 67 / Blue: 79

HSL

228°, 10%, 28%

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

CMYK

19%, 15%, 0%, 69%

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

What color is #40434F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40434F to RGB:

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

HEX to HSL

Convert #40434F to HSL:

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

HEX to CMYK

Convert #40434F to CMYK:

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

Color Meaning and Usage

A muted blue tone, #40434F has RGB (64, 67, 79) and HSL (228°, 10%, 28%). Known for evoking balance and subtlety, this desaturated neutral is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40434F is #4F4C40, creating high-contrast pairings. For softer combinations, try analogous colors like #404A4F.

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

Contrast with #40434F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40434F?

#40434F is a muted blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #40434F?

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

How to use #40434F in CSS?

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

What colors go well with #40434F?

#4F4C40 (complementary), #404A4F (analogous), and #1E1F24 (lighter shade) work well with #40434F.