#4F81BA Color Information

Hex color code: #4F81BA

#4F81BA is a subtle blue color. In RGB it is (79, 129, 186), and in HSL it is (212°, 44%, 52%). It is often used for branding and logos.

Try:
Color NameSteel Blue
HEX
#4F81BA
RGB
79, 129, 186
HSL
212°, 44%, 52%
CMYK
58%, 31%, 0%, 27%

Shades

CSS Usage
color: #4F81BA;
background-color: #4F81BA;
border-color: #4F81BA;
box-shadow: 0 0 10px #4F81BA;
border: 2px solid #4F81BA;
Tailwind Usage
bg-[#4F81BA]
text-[#4F81BA]
border-[#4F81BA]
shadow-[0_0_10px_4F81BA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4F81BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4F81BA; color: #000000; }

Badge

New Feature
.badge { background-color: #4F81BA; 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 #4F81BA; background-color: #4F81BA15; }

Alert / Toast

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

Link / Accent

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

a { color: #4F81BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4F81BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

79, 129, 186

Red: 79 / Green: 129 / Blue: 186

HSL

212°, 44%, 52%

Hue: 212° / Saturation: 44% / Lightness: 52%

CMYK

58%, 31%, 0%, 27%

Cyan: 58% / Magenta: 31% / Yellow: 0% / Key: 27%

What color is #4F81BA?

#4F81BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4F81BA to RGB:

rgb(79, 129, 186)HEX to RGB Converter →

HEX to HSL

Convert #4F81BA to HSL:

hsl(212, 44%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #4F81BA to CMYK:

cmyk(58%, 31%, 0%, 27%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #4F81BA has RGB (79, 129, 186) and HSL (212°, 44%, 52%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4F81BA is #BA884F, creating high-contrast pairings. For softer combinations, try analogous colors like #4FB7BA.

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

Contrast with #4F81BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4F81BA?

#4F81BA is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4F81BA?

#4F81BA in RGB is (79, 129, 186) - 79 red, 129 green, and 186 blue.

How to use #4F81BA in CSS?

Use #4F81BA directly in your CSS properties like color or background-color.

What colors go well with #4F81BA?

#BA884F (complementary), #4FB7BA (analogous), and #355C88 (lighter shade) work well with #4F81BA.