#7F98EB Color Information

Hex color code: #7F98EB

A striking blue shade, #7F98EB appears as (127, 152, 235) in RGB and (226°, 73%, 71%) in HSL. It is popular in mobile app design.

Try:
Color NameCornflower Blue
HEX
#7F98EB
RGB
127, 152, 235
HSL
226°, 73%, 71%
CMYK
46%, 35%, 0%, 8%

Shades

CSS Usage
color: #7F98EB;
background-color: #7F98EB;
border-color: #7F98EB;
box-shadow: 0 0 10px #7F98EB;
border: 2px solid #7F98EB;
Tailwind Usage
bg-[#7F98EB]
text-[#7F98EB]
border-[#7F98EB]
shadow-[0_0_10px_7F98EB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7F98EB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7F98EB; color: #000000; }

Badge

New Feature
.badge { background-color: #7F98EB; 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 #7F98EB; background-color: #7F98EB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7F98EB20; border-left: 4px solid #7F98EB; }

Link / Accent

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

a { color: #7F98EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7F98EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

127, 152, 235

Red: 127 / Green: 152 / Blue: 235

HSL

226°, 73%, 71%

Hue: 226° / Saturation: 73% / Lightness: 71%

CMYK

46%, 35%, 0%, 8%

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

What color is #7F98EB?

#7F98EB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7F98EB to RGB:

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

HEX to HSL

Convert #7F98EB to HSL:

hsl(226, 73%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #7F98EB to CMYK:

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

Color Meaning and Usage

#7F98EB is a dynamic blue color with RGB values of 127, 152, 235 and HSL of 226°, 73%, 71%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7F98EB is #EBD27F, creating high-contrast pairings. For softer combinations, try analogous colors like #7FCEEB.

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

Contrast with #7F98EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7F98EB?

#7F98EB is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7F98EB?

#7F98EB in RGB is (127, 152, 235) - 127 red, 152 green, and 235 blue.

How to use #7F98EB in CSS?

Use #7F98EB directly in your CSS properties like color or background-color.

What colors go well with #7F98EB?

#EBD27F (complementary), #7FCEEB (analogous), and #3D63E1 (lighter shade) work well with #7F98EB.