#407EC4 Color Information

Hex color code: #407EC4

#407EC4 is a tranquil blue color. In RGB it is (64, 126, 196), and in HSL it is (212°, 53%, 51%). It is widely used in graphic design.

Try:
Color NameSteel Blue
HEX
#407EC4
RGB
64, 126, 196
HSL
212°, 53%, 51%
CMYK
67%, 36%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #407EC4; color: #000000; }

Badge

New Feature
.badge { background-color: #407EC4; color: #000000; }

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 #407EC4; background-color: #407EC415; }

Alert / Toast

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

Link / Accent

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

a { color: #407EC4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #407EC4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 126, 196

Red: 64 / Green: 126 / Blue: 196

HSL

212°, 53%, 51%

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

CMYK

67%, 36%, 0%, 23%

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

What color is #407EC4?

#407EC4 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #407EC4 to RGB:

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

HEX to HSL

Convert #407EC4 to HSL:

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

HEX to CMYK

Convert #407EC4 to CMYK:

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

Color Meaning and Usage

A cool blue tone, #407EC4 has RGB (64, 126, 196) and HSL (212°, 53%, 51%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #407EC4 is #C48640, creating high-contrast pairings. For softer combinations, try analogous colors like #40C0C4.

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

Contrast with #407EC4

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

Contrast Ratio: 5.00:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #407EC4?

#407EC4 is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #407EC4?

#407EC4 in RGB is (64, 126, 196) - 64 red, 126 green, and 196 blue.

How to use #407EC4 in CSS?

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

What colors go well with #407EC4?

#C48640 (complementary), #40C0C4 (analogous), and #2B598C (lighter shade) work well with #407EC4.