#4242FF Color Information

Hex color code: #4242FF

A dynamic blue shade, #4242FF appears as (66, 66, 255) in RGB and (240°, 100%, 63%) in HSL. It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#4242FF
RGB
66, 66, 255
HSL
240°, 100%, 63%
CMYK
74%, 74%, 0%, 0%

Shades

CSS Usage
color: #4242FF;
background-color: #4242FF;
border-color: #4242FF;
box-shadow: 0 0 10px #4242FF;
border: 2px solid #4242FF;
Tailwind Usage
bg-[#4242FF]
text-[#4242FF]
border-[#4242FF]
shadow-[0_0_10px_4242FF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4242FF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4242FF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4242FF; 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 #4242FF; background-color: #4242FF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #4242FF20; border-left: 4px solid #4242FF; }

Link / Accent

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

a { color: #4242FF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4242FF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 66, 255

Red: 66 / Green: 66 / Blue: 255

HSL

240°, 100%, 63%

Hue: 240° / Saturation: 100% / Lightness: 63%

CMYK

74%, 74%, 0%, 0%

Cyan: 74% / Magenta: 74% / Yellow: 0% / Key: 0%

What color is #4242FF?

#4242FF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4242FF to RGB:

rgb(66, 66, 255)HEX to RGB Converter →

HEX to HSL

Convert #4242FF to HSL:

hsl(240, 100%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #4242FF to CMYK:

cmyk(74%, 74%, 0%, 0%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #4242FF has RGB (66, 66, 255) and HSL (240°, 100%, 63%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4242FF is #FFFF42, creating high-contrast pairings. For softer combinations, try analogous colors like #42A1FF.

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

Contrast with #4242FF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4242FF?

#4242FF is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #4242FF?

#4242FF in RGB is (66, 66, 255) - 66 red, 66 green, and 255 blue.

How to use #4242FF in CSS?

Use #4242FF directly in your CSS properties like color or background-color.

What colors go well with #4242FF?

#FFFF42 (complementary), #42A1FF (analogous), and #0000F5 (lighter shade) work well with #4242FF.