#403F4B Color Information

Hex color code: #403F4B

The hex color #403F4B is a balanced blue with RGB values of (64, 63, 75) and HSL of (245°, 9%, 27%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#403F4B
RGB
64, 63, 75
HSL
245°, 9%, 27%
CMYK
15%, 16%, 0%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #403F4B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 63, 75

Red: 64 / Green: 63 / Blue: 75

HSL

245°, 9%, 27%

Hue: 245° / Saturation: 9% / Lightness: 27%

CMYK

15%, 16%, 0%, 71%

Cyan: 15% / Magenta: 16% / Yellow: 0% / Key: 71%

What color is #403F4B?

#403F4B is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403F4B to RGB:

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

HEX to HSL

Convert #403F4B to HSL:

hsl(245, 9%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #403F4B to CMYK:

cmyk(15%, 16%, 0%, 71%)Color Converter →

Color Meaning and Usage

A neutral blue tone, #403F4B has RGB (64, 63, 75) and HSL (245°, 9%, 27%). Known for evoking balance and subtlety, this desaturated neutral is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403F4B is #4A4B3F, creating high-contrast pairings. For softer combinations, try analogous colors like #3F444B.

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

Contrast with #403F4B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403F4B?

#403F4B is a neutral blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #403F4B?

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

How to use #403F4B in CSS?

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

What colors go well with #403F4B?

#4A4B3F (complementary), #3F444B (analogous), and #1C1C21 (lighter shade) work well with #403F4B.