#5942DB Color Information

Hex color code: #5942DB

#5942DB is a calming blue color. In RGB it is (89, 66, 219), and in HSL it is (249°, 68%, 56%). It is frequently seen in web interfaces.

Try:
Color NameSlate Blue
HEX
#5942DB
RGB
89, 66, 219
HSL
249°, 68%, 56%
CMYK
59%, 70%, 0%, 14%

Shades

CSS Usage
color: #5942DB;
background-color: #5942DB;
border-color: #5942DB;
box-shadow: 0 0 10px #5942DB;
border: 2px solid #5942DB;
Tailwind Usage
bg-[#5942DB]
text-[#5942DB]
border-[#5942DB]
shadow-[0_0_10px_5942DB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5942DB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5942DB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5942DB; 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 #5942DB; background-color: #5942DB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5942DB20; border-left: 4px solid #5942DB; }

Link / Accent

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

a { color: #5942DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5942DB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

89, 66, 219

Red: 89 / Green: 66 / Blue: 219

HSL

249°, 68%, 56%

Hue: 249° / Saturation: 68% / Lightness: 56%

CMYK

59%, 70%, 0%, 14%

Cyan: 59% / Magenta: 70% / Yellow: 0% / Key: 14%

What color is #5942DB?

#5942DB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5942DB to RGB:

rgb(89, 66, 219)HEX to RGB Converter →

HEX to HSL

Convert #5942DB to HSL:

hsl(249, 68%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #5942DB to CMYK:

cmyk(59%, 70%, 0%, 14%)Color Converter →

Color Meaning and Usage

#5942DB is a cool blue color with RGB values of 89, 66, 219 and HSL of 249°, 68%, 56%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5942DB is #C4DB43, creating high-contrast pairings. For softer combinations, try analogous colors like #4378DB.

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

Contrast with #5942DB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5942DB?

#5942DB is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5942DB?

#5942DB in RGB is (89, 66, 219) - 89 red, 66 green, and 219 blue.

How to use #5942DB in CSS?

Use #5942DB directly in your CSS properties like color or background-color.

What colors go well with #5942DB?

#C4DB43 (complementary), #4378DB (analogous), and #3721B0 (lighter shade) work well with #5942DB.