#403D61 Color Information

Hex color code: #403D61

#403D61 is a gentle blue color. In RGB it is (64, 61, 97), and in HSL it is (245°, 23%, 31%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#403D61
RGB
64, 61, 97
HSL
245°, 23%, 31%
CMYK
34%, 37%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #403D61; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 61, 97

Red: 64 / Green: 61 / Blue: 97

HSL

245°, 23%, 31%

Hue: 245° / Saturation: 23% / Lightness: 31%

CMYK

34%, 37%, 0%, 62%

Cyan: 34% / Magenta: 37% / Yellow: 0% / Key: 62%

What color is #403D61?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403D61 to RGB:

rgb(64, 61, 97)HEX to RGB Converter →

HEX to HSL

Convert #403D61 to HSL:

hsl(245, 23%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #403D61 to CMYK:

cmyk(34%, 37%, 0%, 62%)Color Converter →

Color Meaning and Usage

#403D61 is a gentle blue color with RGB values of 64, 61, 97 and HSL of 245°, 23%, 31%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403D61 is #5E613D, creating high-contrast pairings. For softer combinations, try analogous colors like #3D4C61.

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

Contrast with #403D61

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403D61?

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

What is the RGB value of #403D61?

#403D61 in RGB is (64, 61, 97) - 64 red, 61 green, and 97 blue.

How to use #403D61 in CSS?

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

What colors go well with #403D61?

#5E613D (complementary), #3D4C61 (analogous), and #211F32 (lighter shade) work well with #403D61.