#403EB6 Color Information

Hex color code: #403EB6

#403EB6 is a delicate blue color. In RGB it is (64, 62, 182), and in HSL it is (241°, 49%, 48%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#403EB6
RGB
64, 62, 182
HSL
241°, 49%, 48%
CMYK
65%, 66%, 0%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #403EB6; 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 #403EB6; background-color: #403EB615; }

Alert / Toast

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

Link / Accent

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

a { color: #403EB6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #403EB6 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 62, 182

Red: 64 / Green: 62 / Blue: 182

HSL

241°, 49%, 48%

Hue: 241° / Saturation: 49% / Lightness: 48%

CMYK

65%, 66%, 0%, 29%

Cyan: 65% / Magenta: 66% / Yellow: 0% / Key: 29%

What color is #403EB6?

#403EB6 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403EB6 to RGB:

rgb(64, 62, 182)HEX to RGB Converter →

HEX to HSL

Convert #403EB6 to HSL:

hsl(241, 49%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #403EB6 to CMYK:

cmyk(65%, 66%, 0%, 29%)Color Converter →

Color Meaning and Usage

#403EB6 is a gentle blue color with RGB values of 64, 62, 182 and HSL of 241°, 49%, 48%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403EB6 is #B4B63E, creating high-contrast pairings. For softer combinations, try analogous colors like #3E78B6.

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

Contrast with #403EB6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403EB6?

#403EB6 is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #403EB6?

#403EB6 in RGB is (64, 62, 182) - 64 red, 62 green, and 182 blue.

How to use #403EB6 in CSS?

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

What colors go well with #403EB6?

#B4B63E (complementary), #3E78B6 (analogous), and #2C2B7D (lighter shade) work well with #403EB6.