#5845BA Color Information

Hex color code: #5845BA

#5845BA is a subtle blue color. In RGB it is (88, 69, 186), and in HSL it is (250°, 46%, 50%). It is popular in mobile app design.

Try:
Color NameSlate Blue
HEX
#5845BA
RGB
88, 69, 186
HSL
250°, 46%, 50%
CMYK
53%, 63%, 0%, 27%

Shades

CSS Usage
color: #5845BA;
background-color: #5845BA;
border-color: #5845BA;
box-shadow: 0 0 10px #5845BA;
border: 2px solid #5845BA;
Tailwind Usage
bg-[#5845BA]
text-[#5845BA]
border-[#5845BA]
shadow-[0_0_10px_5845BA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5845BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5845BA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5845BA; 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 #5845BA; background-color: #5845BA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5845BA20; border-left: 4px solid #5845BA; }

Link / Accent

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

a { color: #5845BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5845BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

88, 69, 186

Red: 88 / Green: 69 / Blue: 186

HSL

250°, 46%, 50%

Hue: 250° / Saturation: 46% / Lightness: 50%

CMYK

53%, 63%, 0%, 27%

Cyan: 53% / Magenta: 63% / Yellow: 0% / Key: 27%

What color is #5845BA?

#5845BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5845BA to RGB:

rgb(88, 69, 186)HEX to RGB Converter →

HEX to HSL

Convert #5845BA to HSL:

hsl(250, 46%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #5845BA to CMYK:

cmyk(53%, 63%, 0%, 27%)Color Converter →

Color Meaning and Usage

#5845BA is a gentle blue color with RGB values of 88, 69, 186 and HSL of 250°, 46%, 50%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5845BA is #A7BA45, creating high-contrast pairings. For softer combinations, try analogous colors like #456CBA.

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

Contrast with #5845BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5845BA?

#5845BA is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5845BA?

#5845BA in RGB is (88, 69, 186) - 88 red, 69 green, and 186 blue.

How to use #5845BA in CSS?

Use #5845BA directly in your CSS properties like color or background-color.

What colors go well with #5845BA?

#A7BA45 (complementary), #456CBA (analogous), and #3E3082 (lighter shade) work well with #5845BA.