#7FA8EB Color Information

Hex color code: #7FA8EB

#7FA8EB is a bold blue color. In RGB it is (127, 168, 235), and in HSL it is (217°, 73%, 71%). It is frequently seen in web interfaces.

Try:
Color NameCornflower Blue
HEX
#7FA8EB
RGB
127, 168, 235
HSL
217°, 73%, 71%
CMYK
46%, 29%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7FA8EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

127, 168, 235

Red: 127 / Green: 168 / Blue: 235

HSL

217°, 73%, 71%

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

CMYK

46%, 29%, 0%, 8%

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

What color is #7FA8EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7FA8EB to RGB:

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

HEX to HSL

Convert #7FA8EB to HSL:

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

HEX to CMYK

Convert #7FA8EB to CMYK:

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

Color Meaning and Usage

A dynamic blue tone, #7FA8EB has RGB (127, 168, 235) and HSL (217°, 73%, 71%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7FA8EB is #EBC27F, creating high-contrast pairings. For softer combinations, try analogous colors like #7FDEEB.

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

Contrast with #7FA8EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7FA8EB?

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

What is the RGB value of #7FA8EB?

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

How to use #7FA8EB in CSS?

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

What colors go well with #7FA8EB?

#EBC27F (complementary), #7FDEEB (analogous), and #3D7CE1 (lighter shade) work well with #7FA8EB.