#3C40AF Color Information

Hex color code: #3C40AF

#3C40AF is a soft blue color. In RGB it is (60, 64, 175), and in HSL it is (238°, 49%, 46%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#3C40AF
RGB
60, 64, 175
HSL
238°, 49%, 46%
CMYK
66%, 63%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #3C40AF; 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 #3C40AF; background-color: #3C40AF15; }

Alert / Toast

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

Link / Accent

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

a { color: #3C40AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3C40AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

60, 64, 175

Red: 60 / Green: 64 / Blue: 175

HSL

238°, 49%, 46%

Hue: 238° / Saturation: 49% / Lightness: 46%

CMYK

66%, 63%, 0%, 31%

Cyan: 66% / Magenta: 63% / Yellow: 0% / Key: 31%

What color is #3C40AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3C40AF to RGB:

rgb(60, 64, 175)HEX to RGB Converter →

HEX to HSL

Convert #3C40AF to HSL:

hsl(238, 49%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #3C40AF to CMYK:

cmyk(66%, 63%, 0%, 31%)Color Converter →

Color Meaning and Usage

#3C40AF is a delicate blue color with RGB values of 60, 64, 175 and HSL of 238°, 49%, 46%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3C40AF is #AFAB3C, creating high-contrast pairings. For softer combinations, try analogous colors like #3C79AF.

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

Contrast with #3C40AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3C40AF?

#3C40AF is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3C40AF?

#3C40AF in RGB is (60, 64, 175) - 60 red, 64 green, and 175 blue.

How to use #3C40AF in CSS?

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

What colors go well with #3C40AF?

#AFAB3C (complementary), #3C79AF (analogous), and #282B76 (lighter shade) work well with #3C40AF.