#3342CF Color Information

Hex color code: #3342CF

A peaceful blue shade, #3342CF appears as (51, 66, 207) in RGB and (234°, 62%, 51%) in HSL. It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#3342CF
RGB
51, 66, 207
HSL
234°, 62%, 51%
CMYK
75%, 68%, 0%, 19%

Shades

CSS Usage
color: #3342CF;
background-color: #3342CF;
border-color: #3342CF;
box-shadow: 0 0 10px #3342CF;
border: 2px solid #3342CF;
Tailwind Usage
bg-[#3342CF]
text-[#3342CF]
border-[#3342CF]
shadow-[0_0_10px_3342CF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3342CF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3342CF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3342CF; 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 #3342CF; background-color: #3342CF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3342CF20; border-left: 4px solid #3342CF; }

Link / Accent

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

a { color: #3342CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3342CF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 66, 207

Red: 51 / Green: 66 / Blue: 207

HSL

234°, 62%, 51%

Hue: 234° / Saturation: 62% / Lightness: 51%

CMYK

75%, 68%, 0%, 19%

Cyan: 75% / Magenta: 68% / Yellow: 0% / Key: 19%

What color is #3342CF?

#3342CF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3342CF to RGB:

rgb(51, 66, 207)HEX to RGB Converter →

HEX to HSL

Convert #3342CF to HSL:

hsl(234, 62%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #3342CF to CMYK:

cmyk(75%, 68%, 0%, 19%)Color Converter →

Color Meaning and Usage

A serene blue tone, #3342CF has RGB (51, 66, 207) and HSL (234°, 62%, 51%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3342CF is #D0C035, creating high-contrast pairings. For softer combinations, try analogous colors like #3592D0.

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

Contrast with #3342CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3342CF?

#3342CF is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3342CF?

#3342CF in RGB is (51, 66, 207) - 51 red, 66 green, and 207 blue.

How to use #3342CF in CSS?

Use #3342CF directly in your CSS properties like color or background-color.

What colors go well with #3342CF?

#D0C035 (complementary), #3592D0 (analogous), and #232E95 (lighter shade) work well with #3342CF.