#242DDB Color Information

Hex color code: #242DDB

A dynamic blue shade, #242DDB appears as (36, 45, 219) in RGB and (237°, 72%, 50%) in HSL. It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#242DDB
RGB
36, 45, 219
HSL
237°, 72%, 50%
CMYK
84%, 79%, 0%, 14%

Shades

CSS Usage
color: #242DDB;
background-color: #242DDB;
border-color: #242DDB;
box-shadow: 0 0 10px #242DDB;
border: 2px solid #242DDB;
Tailwind Usage
bg-[#242DDB]
text-[#242DDB]
border-[#242DDB]
shadow-[0_0_10px_242DDB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #242DDB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #242DDB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #242DDB; 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 #242DDB; background-color: #242DDB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #242DDB20; border-left: 4px solid #242DDB; }

Link / Accent

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

a { color: #242DDB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #242DDB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 45, 219

Red: 36 / Green: 45 / Blue: 219

HSL

237°, 72%, 50%

Hue: 237° / Saturation: 72% / Lightness: 50%

CMYK

84%, 79%, 0%, 14%

Cyan: 84% / Magenta: 79% / Yellow: 0% / Key: 14%

What color is #242DDB?

#242DDB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #242DDB to RGB:

rgb(36, 45, 219)HEX to RGB Converter →

HEX to HSL

Convert #242DDB to HSL:

hsl(237, 72%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #242DDB to CMYK:

cmyk(84%, 79%, 0%, 14%)Color Converter →

Color Meaning and Usage

#242DDB is a bold blue color with RGB values of 36, 45, 219 and HSL of 237°, 72%, 50%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #242DDB is #DBD224, creating high-contrast pairings. For softer combinations, try analogous colors like #2489DB.

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

Contrast with #242DDB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #242DDB?

#242DDB is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #242DDB?

#242DDB in RGB is (36, 45, 219) - 36 red, 45 green, and 219 blue.

How to use #242DDB in CSS?

Use #242DDB directly in your CSS properties like color or background-color.

What colors go well with #242DDB?

#DBD224 (complementary), #2489DB (analogous), and #191F9A (lighter shade) work well with #242DDB.