#4742C2 Color Information

Hex color code: #4742C2

The hex color #4742C2 is a tranquil blue with RGB values of (71, 66, 194) and HSL of (242°, 51%, 51%). It is widely used in graphic design.

Try:
Color NameSlate Blue
HEX
#4742C2
RGB
71, 66, 194
HSL
242°, 51%, 51%
CMYK
63%, 66%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #4742C2; 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 #4742C2; background-color: #4742C215; }

Alert / Toast

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

Link / Accent

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

a { color: #4742C2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4742C2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

71, 66, 194

Red: 71 / Green: 66 / Blue: 194

HSL

242°, 51%, 51%

Hue: 242° / Saturation: 51% / Lightness: 51%

CMYK

63%, 66%, 0%, 24%

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

What color is #4742C2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4742C2 to RGB:

rgb(71, 66, 194)HEX to RGB Converter →

HEX to HSL

Convert #4742C2 to HSL:

hsl(242, 51%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #4742C2 to CMYK:

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

Color Meaning and Usage

A calming blue tone, #4742C2 has RGB (71, 66, 194) and HSL (242°, 51%, 51%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4742C2 is #BEC242, creating high-contrast pairings. For softer combinations, try analogous colors like #427EC2.

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

Contrast with #4742C2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4742C2?

#4742C2 is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4742C2?

#4742C2 in RGB is (71, 66, 194) - 71 red, 66 green, and 194 blue.

How to use #4742C2 in CSS?

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

What colors go well with #4742C2?

#BEC242 (complementary), #427EC2 (analogous), and #302D8B (lighter shade) work well with #4742C2.