#6862BC Color Information

Hex color code: #6862BC

A pastel blue shade, #6862BC appears as (104, 98, 188) in RGB and (244°, 40%, 56%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSlate Blue
HEX
#6862BC
RGB
104, 98, 188
HSL
244°, 40%, 56%
CMYK
45%, 48%, 0%, 26%

Shades

CSS Usage
color: #6862BC;
background-color: #6862BC;
border-color: #6862BC;
box-shadow: 0 0 10px #6862BC;
border: 2px solid #6862BC;
Tailwind Usage
bg-[#6862BC]
text-[#6862BC]
border-[#6862BC]
shadow-[0_0_10px_6862BC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #6862BC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #6862BC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6862BC; 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 #6862BC; background-color: #6862BC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #6862BC20; border-left: 4px solid #6862BC; }

Link / Accent

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

a { color: #6862BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6862BC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

104, 98, 188

Red: 104 / Green: 98 / Blue: 188

HSL

244°, 40%, 56%

Hue: 244° / Saturation: 40% / Lightness: 56%

CMYK

45%, 48%, 0%, 26%

Cyan: 45% / Magenta: 48% / Yellow: 0% / Key: 26%

What color is #6862BC?

#6862BC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6862BC to RGB:

rgb(104, 98, 188)HEX to RGB Converter →

HEX to HSL

Convert #6862BC to HSL:

hsl(244, 40%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #6862BC to CMYK:

cmyk(45%, 48%, 0%, 26%)Color Converter →

Color Meaning and Usage

A soft blue tone, #6862BC has RGB (104, 98, 188) and HSL (244°, 40%, 56%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6862BC is #B6BC62, creating high-contrast pairings. For softer combinations, try analogous colors like #6289BC.

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

Contrast with #6862BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6862BC?

#6862BC is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6862BC?

#6862BC in RGB is (104, 98, 188) - 104 red, 98 green, and 188 blue.

How to use #6862BC in CSS?

Use #6862BC directly in your CSS properties like color or background-color.

What colors go well with #6862BC?

#B6BC62 (complementary), #6289BC (analogous), and #443F92 (lighter shade) work well with #6862BC.