#405BA0 Color Information

Hex color code: #405BA0

#405BA0 is a soft blue color. In RGB it is (64, 91, 160), and in HSL it is (223°, 43%, 44%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#405BA0
RGB
64, 91, 160
HSL
223°, 43%, 44%
CMYK
60%, 43%, 0%, 37%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #405BA0; 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 #405BA0; background-color: #405BA015; }

Alert / Toast

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

Link / Accent

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

a { color: #405BA0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #405BA0 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 91, 160

Red: 64 / Green: 91 / Blue: 160

HSL

223°, 43%, 44%

Hue: 223° / Saturation: 43% / Lightness: 44%

CMYK

60%, 43%, 0%, 37%

Cyan: 60% / Magenta: 43% / Yellow: 0% / Key: 37%

What color is #405BA0?

#405BA0 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #405BA0 to RGB:

rgb(64, 91, 160)HEX to RGB Converter →

HEX to HSL

Convert #405BA0 to HSL:

hsl(223, 43%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #405BA0 to CMYK:

cmyk(60%, 43%, 0%, 37%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #405BA0 has RGB (64, 91, 160) and HSL (223°, 43%, 44%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #405BA0 is #A08540, creating high-contrast pairings. For softer combinations, try analogous colors like #408CA0.

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

Contrast with #405BA0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #405BA0?

#405BA0 is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #405BA0?

#405BA0 in RGB is (64, 91, 160) - 64 red, 91 green, and 160 blue.

How to use #405BA0 in CSS?

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

What colors go well with #405BA0?

#A08540 (complementary), #408CA0 (analogous), and #2A3C6A (lighter shade) work well with #405BA0.