#403F88 Color Information

Hex color code: #403F88

#403F88 is a subtle blue color. In RGB it is (64, 63, 136), and in HSL it is (241°, 37%, 39%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#403F88
RGB
64, 63, 136
HSL
241°, 37%, 39%
CMYK
53%, 54%, 0%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #403F88; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 63, 136

Red: 64 / Green: 63 / Blue: 136

HSL

241°, 37%, 39%

Hue: 241° / Saturation: 37% / Lightness: 39%

CMYK

53%, 54%, 0%, 47%

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

What color is #403F88?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403F88 to RGB:

rgb(64, 63, 136)HEX to RGB Converter →

HEX to HSL

Convert #403F88 to HSL:

hsl(241, 37%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #403F88 to CMYK:

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

Color Meaning and Usage

A subtle blue tone, #403F88 has RGB (64, 63, 136) and HSL (241°, 37%, 39%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403F88 is #87883F, creating high-contrast pairings. For softer combinations, try analogous colors like #3F6288.

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

Contrast with #403F88

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403F88?

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

What is the RGB value of #403F88?

#403F88 in RGB is (64, 63, 136) - 64 red, 63 green, and 136 blue.

How to use #403F88 in CSS?

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

What colors go well with #403F88?

#87883F (complementary), #3F6288 (analogous), and #272754 (lighter shade) work well with #403F88.