#40584F Color Information

Hex color code: #40584F

The hex color #40584F is a understated cyan with RGB values of (64, 88, 79) and HSL of (158°, 16%, 30%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#40584F
RGB
64, 88, 79
HSL
158°, 16%, 30%
CMYK
27%, 0%, 10%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40584F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 88, 79

Red: 64 / Green: 88 / Blue: 79

HSL

158°, 16%, 30%

Hue: 158° / Saturation: 16% / Lightness: 30%

CMYK

27%, 0%, 10%, 65%

Cyan: 27% / Magenta: 0% / Yellow: 10% / Key: 65%

What color is #40584F?

#40584F is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40584F to RGB:

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

HEX to HSL

Convert #40584F to HSL:

hsl(158, 16%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #40584F to CMYK:

cmyk(27%, 0%, 10%, 65%)Color Converter →

Color Meaning and Usage

#40584F is a understated cyan color with RGB values of 64, 88, 79 and HSL of 158°, 16%, 30%. This cyan-blue hue evokes trust and professionalism, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40584F is #594049, creating high-contrast pairings. For softer combinations, try analogous colors like #405944.

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

Contrast with #40584F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40584F?

#40584F is a understated cyan color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #40584F?

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

How to use #40584F in CSS?

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

What colors go well with #40584F?

#594049 (complementary), #405944 (analogous), and #202C28 (lighter shade) work well with #40584F.