#628EDA Color Information

Hex color code: #628EDA

A cool blue shade, #628EDA appears as (98, 142, 218) in RGB and (218°, 62%, 62%) in HSL. It is commonly used in modern UI design.

Try:
Color NameCornflower Blue
HEX
#628EDA
RGB
98, 142, 218
HSL
218°, 62%, 62%
CMYK
55%, 35%, 0%, 15%

Shades

CSS Usage
color: #628EDA;
background-color: #628EDA;
border-color: #628EDA;
box-shadow: 0 0 10px #628EDA;
border: 2px solid #628EDA;
Tailwind Usage
bg-[#628EDA]
text-[#628EDA]
border-[#628EDA]
shadow-[0_0_10px_628EDA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #628EDA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #628EDA; color: #000000; }

Badge

New Feature
.badge { background-color: #628EDA; color: #000000; }

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 #628EDA; background-color: #628EDA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #628EDA20; border-left: 4px solid #628EDA; }

Link / Accent

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

a { color: #628EDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #628EDA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

98, 142, 218

Red: 98 / Green: 142 / Blue: 218

HSL

218°, 62%, 62%

Hue: 218° / Saturation: 62% / Lightness: 62%

CMYK

55%, 35%, 0%, 15%

Cyan: 55% / Magenta: 35% / Yellow: 0% / Key: 15%

What color is #628EDA?

#628EDA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #628EDA to RGB:

rgb(98, 142, 218)HEX to RGB Converter →

HEX to HSL

Convert #628EDA to HSL:

hsl(218, 62%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #628EDA to CMYK:

cmyk(55%, 35%, 0%, 15%)Color Converter →

Color Meaning and Usage

A calming blue tone, #628EDA has RGB (98, 142, 218) and HSL (218°, 62%, 62%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #628EDA is #DAAE62, creating high-contrast pairings. For softer combinations, try analogous colors like #62CADA.

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

Contrast with #628EDA

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

Contrast Ratio: 6.40:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #628EDA?

#628EDA is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #628EDA?

#628EDA in RGB is (98, 142, 218) - 98 red, 142 green, and 218 blue.

How to use #628EDA in CSS?

Use #628EDA directly in your CSS properties like color or background-color.

What colors go well with #628EDA?

#DAAE62 (complementary), #62CADA (analogous), and #2E64C2 (lighter shade) work well with #628EDA.