#342ABB Color Information

Hex color code: #342ABB

#342ABB is a peaceful blue color. In RGB it is (52, 42, 187), and in HSL it is (244°, 63%, 45%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#342ABB
RGB
52, 42, 187
HSL
244°, 63%, 45%
CMYK
72%, 78%, 0%, 27%

Shades

CSS Usage
color: #342ABB;
background-color: #342ABB;
border-color: #342ABB;
box-shadow: 0 0 10px #342ABB;
border: 2px solid #342ABB;
Tailwind Usage
bg-[#342ABB]
text-[#342ABB]
border-[#342ABB]
shadow-[0_0_10px_342ABB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #342ABB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #342ABB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #342ABB; 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 #342ABB; background-color: #342ABB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #342ABB20; border-left: 4px solid #342ABB; }

Link / Accent

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

a { color: #342ABB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #342ABB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 42, 187

Red: 52 / Green: 42 / Blue: 187

HSL

244°, 63%, 45%

Hue: 244° / Saturation: 63% / Lightness: 45%

CMYK

72%, 78%, 0%, 27%

Cyan: 72% / Magenta: 78% / Yellow: 0% / Key: 27%

What color is #342ABB?

#342ABB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #342ABB to RGB:

rgb(52, 42, 187)HEX to RGB Converter →

HEX to HSL

Convert #342ABB to HSL:

hsl(244, 63%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #342ABB to CMYK:

cmyk(72%, 78%, 0%, 27%)Color Converter →

Color Meaning and Usage

#342ABB is a peaceful blue color with RGB values of 52, 42, 187 and HSL of 244°, 63%, 45%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #342ABB is #B1BB2A, creating high-contrast pairings. For softer combinations, try analogous colors like #2A69BB.

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

Contrast with #342ABB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #342ABB?

#342ABB is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #342ABB?

#342ABB in RGB is (52, 42, 187) - 52 red, 42 green, and 187 blue.

How to use #342ABB in CSS?

Use #342ABB directly in your CSS properties like color or background-color.

What colors go well with #342ABB?

#B1BB2A (complementary), #2A69BB (analogous), and #231C7D (lighter shade) work well with #342ABB.