#40594F Color Information

Hex color code: #40594F

#40594F is a subtle cyan color. In RGB it is (64, 89, 79), and in HSL it is (156°, 16%, 30%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#40594F
RGB
64, 89, 79
HSL
156°, 16%, 30%
CMYK
28%, 0%, 11%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40594F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 89, 79

Red: 64 / Green: 89 / Blue: 79

HSL

156°, 16%, 30%

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

CMYK

28%, 0%, 11%, 65%

Cyan: 28% / Magenta: 0% / Yellow: 11% / Key: 65%

What color is #40594F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40594F to RGB:

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

HEX to HSL

Convert #40594F to HSL:

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

HEX to CMYK

Convert #40594F to CMYK:

cmyk(28%, 0%, 11%, 65%)Color Converter →

Color Meaning and Usage

#40594F is a neutral cyan color with RGB values of 64, 89, 79 and HSL of 156°, 16%, 30%. This cyan-blue hue evokes trust and professionalism, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40594F is #59404A, creating high-contrast pairings. For softer combinations, try analogous colors like #405943.

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

Contrast with #40594F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40594F?

#40594F is a neutral cyan color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #40594F?

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

How to use #40594F in CSS?

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

What colors go well with #40594F?

#59404A (complementary), #405943 (analogous), and #202C27 (lighter shade) work well with #40594F.