#7C8AAB Color Information

Hex color code: #7C8AAB

A pastel blue shade, #7C8AAB appears as (124, 138, 171) in RGB and (222°, 22%, 58%) in HSL. It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#7C8AAB
RGB
124, 138, 171
HSL
222°, 22%, 58%
CMYK
27%, 19%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7C8AAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

124, 138, 171

Red: 124 / Green: 138 / Blue: 171

HSL

222°, 22%, 58%

Hue: 222° / Saturation: 22% / Lightness: 58%

CMYK

27%, 19%, 0%, 33%

Cyan: 27% / Magenta: 19% / Yellow: 0% / Key: 33%

What color is #7C8AAB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7C8AAB to RGB:

rgb(124, 138, 171)HEX to RGB Converter →

HEX to HSL

Convert #7C8AAB to HSL:

hsl(222, 22%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #7C8AAB to CMYK:

cmyk(27%, 19%, 0%, 33%)Color Converter →

Color Meaning and Usage

#7C8AAB is a pastel blue color with RGB values of 124, 138, 171 and HSL of 222°, 22%, 58%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7C8AAB is #AB9D7C, creating high-contrast pairings. For softer combinations, try analogous colors like #7CA2AB.

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

Contrast with #7C8AAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7C8AAB?

#7C8AAB is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7C8AAB?

#7C8AAB in RGB is (124, 138, 171) - 124 red, 138 green, and 171 blue.

How to use #7C8AAB in CSS?

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

What colors go well with #7C8AAB?

#AB9D7C (complementary), #7CA2AB (analogous), and #566486 (lighter shade) work well with #7C8AAB.