#405AC4 Color Information

Hex color code: #405AC4

The hex color #405AC4 is a peaceful blue with RGB values of (64, 90, 196) and HSL of (228°, 53%, 51%). It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#405AC4
RGB
64, 90, 196
HSL
228°, 53%, 51%
CMYK
67%, 54%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #405AC4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 90, 196

Red: 64 / Green: 90 / Blue: 196

HSL

228°, 53%, 51%

Hue: 228° / Saturation: 53% / Lightness: 51%

CMYK

67%, 54%, 0%, 23%

Cyan: 67% / Magenta: 54% / Yellow: 0% / Key: 23%

What color is #405AC4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #405AC4 to RGB:

rgb(64, 90, 196)HEX to RGB Converter →

HEX to HSL

Convert #405AC4 to HSL:

hsl(228, 53%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #405AC4 to CMYK:

cmyk(67%, 54%, 0%, 23%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #405AC4 has RGB (64, 90, 196) and HSL (228°, 53%, 51%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #405AC4 is #C4AA40, creating high-contrast pairings. For softer combinations, try analogous colors like #409DC4.

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

Contrast with #405AC4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #405AC4?

#405AC4 is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #405AC4?

#405AC4 in RGB is (64, 90, 196) - 64 red, 90 green, and 196 blue.

How to use #405AC4 in CSS?

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

What colors go well with #405AC4?

#C4AA40 (complementary), #409DC4 (analogous), and #2B3F8C (lighter shade) work well with #405AC4.