#8E98EB Color Information

Hex color code: #8E98EB

The hex color #8E98EB is a cool blue with RGB values of (142, 152, 235) and HSL of (234°, 70%, 74%). It is commonly used in modern UI design.

Try:
Color NameCornflower Blue
HEX
#8E98EB
RGB
142, 152, 235
HSL
234°, 70%, 74%
CMYK
40%, 35%, 0%, 8%

Shades

CSS Usage
color: #8E98EB;
background-color: #8E98EB;
border-color: #8E98EB;
box-shadow: 0 0 10px #8E98EB;
border: 2px solid #8E98EB;
Tailwind Usage
bg-[#8E98EB]
text-[#8E98EB]
border-[#8E98EB]
shadow-[0_0_10px_8E98EB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #8E98EB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #8E98EB; color: #000000; }

Badge

New Feature
.badge { background-color: #8E98EB; 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 #8E98EB; background-color: #8E98EB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #8E98EB20; border-left: 4px solid #8E98EB; }

Link / Accent

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

a { color: #8E98EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8E98EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

142, 152, 235

Red: 142 / Green: 152 / Blue: 235

HSL

234°, 70%, 74%

Hue: 234° / Saturation: 70% / Lightness: 74%

CMYK

40%, 35%, 0%, 8%

Cyan: 40% / Magenta: 35% / Yellow: 0% / Key: 8%

What color is #8E98EB?

#8E98EB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8E98EB to RGB:

rgb(142, 152, 235)HEX to RGB Converter →

HEX to HSL

Convert #8E98EB to HSL:

hsl(234, 70%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #8E98EB to CMYK:

cmyk(40%, 35%, 0%, 8%)Color Converter →

Color Meaning and Usage

#8E98EB is a cool blue color with RGB values of 142, 152, 235 and HSL of 234°, 70%, 74%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8E98EB is #EBE28E, creating high-contrast pairings. For softer combinations, try analogous colors like #8EC6EB.

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

Contrast with #8E98EB

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

Contrast Ratio: 7.84:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8E98EB?

#8E98EB is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8E98EB?

#8E98EB in RGB is (142, 152, 235) - 142 red, 152 green, and 235 blue.

How to use #8E98EB in CSS?

Use #8E98EB directly in your CSS properties like color or background-color.

What colors go well with #8E98EB?

#EBE28E (complementary), #8EC6EB (analogous), and #4D5CE0 (lighter shade) work well with #8E98EB.