#798FAF Color Information

Hex color code: #798FAF

#798FAF is a pastel blue color. In RGB it is (121, 143, 175), and in HSL it is (216°, 25%, 58%). It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#798FAF
RGB
121, 143, 175
HSL
216°, 25%, 58%
CMYK
31%, 18%, 0%, 31%

Shades

CSS Usage
color: #798FAF;
background-color: #798FAF;
border-color: #798FAF;
box-shadow: 0 0 10px #798FAF;
border: 2px solid #798FAF;
Tailwind Usage
bg-[#798FAF]
text-[#798FAF]
border-[#798FAF]
shadow-[0_0_10px_798FAF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #798FAF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #798FAF; color: #000000; }

Badge

New Feature
.badge { background-color: #798FAF; 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 #798FAF; background-color: #798FAF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #798FAF20; border-left: 4px solid #798FAF; }

Link / Accent

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

a { color: #798FAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #798FAF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 143, 175

Red: 121 / Green: 143 / Blue: 175

HSL

216°, 25%, 58%

Hue: 216° / Saturation: 25% / Lightness: 58%

CMYK

31%, 18%, 0%, 31%

Cyan: 31% / Magenta: 18% / Yellow: 0% / Key: 31%

What color is #798FAF?

#798FAF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798FAF to RGB:

rgb(121, 143, 175)HEX to RGB Converter →

HEX to HSL

Convert #798FAF to HSL:

hsl(216, 25%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #798FAF to CMYK:

cmyk(31%, 18%, 0%, 31%)Color Converter →

Color Meaning and Usage

#798FAF is a subtle blue color with RGB values of 121, 143, 175 and HSL of 216°, 25%, 58%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798FAF is #AF9979, creating high-contrast pairings. For softer combinations, try analogous colors like #79A9AF.

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

Contrast with #798FAF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798FAF?

#798FAF is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #798FAF?

#798FAF in RGB is (121, 143, 175) - 121 red, 143 green, and 175 blue.

How to use #798FAF in CSS?

Use #798FAF directly in your CSS properties like color or background-color.

What colors go well with #798FAF?

#AF9979 (complementary), #79A9AF (analogous), and #526889 (lighter shade) work well with #798FAF.