#403678 Color Information

Hex color code: #403678

A subtle blue shade, #403678 appears as (64, 54, 120) in RGB and (249°, 38%, 34%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#403678
RGB
64, 54, 120
HSL
249°, 38%, 34%
CMYK
47%, 55%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #403678; 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 #403678; background-color: #40367815; }

Alert / Toast

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

Link / Accent

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

a { color: #403678; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #403678 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 54, 120

Red: 64 / Green: 54 / Blue: 120

HSL

249°, 38%, 34%

Hue: 249° / Saturation: 38% / Lightness: 34%

CMYK

47%, 55%, 0%, 53%

Cyan: 47% / Magenta: 55% / Yellow: 0% / Key: 53%

What color is #403678?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403678 to RGB:

rgb(64, 54, 120)HEX to RGB Converter →

HEX to HSL

Convert #403678 to HSL:

hsl(249, 38%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #403678 to CMYK:

cmyk(47%, 55%, 0%, 53%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #403678 has RGB (64, 54, 120) and HSL (249°, 38%, 34%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403678 is #6E7836, creating high-contrast pairings. For softer combinations, try analogous colors like #364D78.

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

Contrast with #403678

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403678?

#403678 is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #403678?

#403678 in RGB is (64, 54, 120) - 64 red, 54 green, and 120 blue.

How to use #403678 in CSS?

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

What colors go well with #403678?

#6E7836 (complementary), #364D78 (analogous), and #241E43 (lighter shade) work well with #403678.