#407FED Color Information

Hex color code: #407FED

#407FED is a vivid blue color. In RGB it is (64, 127, 237), and in HSL it is (218°, 83%, 59%). It is frequently seen in web interfaces.

Try:
Color NameRoyal Blue
HEX
#407FED
RGB
64, 127, 237
HSL
218°, 83%, 59%
CMYK
73%, 46%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #407FED; 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 #407FED; background-color: #407FED15; }

Alert / Toast

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

Link / Accent

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

a { color: #407FED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 127, 237

Red: 64 / Green: 127 / Blue: 237

HSL

218°, 83%, 59%

Hue: 218° / Saturation: 83% / Lightness: 59%

CMYK

73%, 46%, 0%, 7%

Cyan: 73% / Magenta: 46% / Yellow: 0% / Key: 7%

What color is #407FED?

#407FED is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #407FED to RGB:

rgb(64, 127, 237)HEX to RGB Converter →

HEX to HSL

Convert #407FED to HSL:

hsl(218, 83%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #407FED to CMYK:

cmyk(73%, 46%, 0%, 7%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #407FED has RGB (64, 127, 237) and HSL (218°, 83%, 59%). Known for evoking energy and excitement, this highly saturated hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #407FED is #EDAE40, creating high-contrast pairings. For softer combinations, try analogous colors like #40D6ED.

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

Contrast with #407FED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #407FED?

#407FED is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #407FED?

#407FED in RGB is (64, 127, 237) - 64 red, 127 green, and 237 blue.

How to use #407FED in CSS?

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

What colors go well with #407FED?

#EDAE40 (complementary), #40D6ED (analogous), and #1357CD (lighter shade) work well with #407FED.