#405258 Color Information

Hex color code: #405258

#405258 is a understated blue color. In RGB it is (64, 82, 88), and in HSL it is (195°, 16%, 30%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#405258
RGB
64, 82, 88
HSL
195°, 16%, 30%
CMYK
27%, 7%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #405258; 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 #405258; background-color: #40525815; }

Alert / Toast

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

Link / Accent

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

a { color: #405258; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #405258 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 82, 88

Red: 64 / Green: 82 / Blue: 88

HSL

195°, 16%, 30%

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

CMYK

27%, 7%, 0%, 65%

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

What color is #405258?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #405258 to RGB:

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

HEX to HSL

Convert #405258 to HSL:

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

HEX to CMYK

Convert #405258 to CMYK:

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

Color Meaning and Usage

A subtle blue tone, #405258 has RGB (64, 82, 88) and HSL (195°, 16%, 30%). Known for evoking trust and professionalism, this cyan-blue hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #405258 is #594640, creating high-contrast pairings. For softer combinations, try analogous colors like #405953.

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

Contrast with #405258

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #405258?

#405258 is a subtle blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #405258?

#405258 in RGB is (64, 82, 88) - 64 red, 82 green, and 88 blue.

How to use #405258 in CSS?

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

What colors go well with #405258?

#594640 (complementary), #405953 (analogous), and #20292C (lighter shade) work well with #405258.