#4F5158 Color Information

Hex color code: #4F5158

The hex color #4F5158 is a subtle blue with RGB values of (79, 81, 88) and HSL of (227°, 5%, 33%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#4F5158
RGB
79, 81, 88
HSL
227°, 5%, 33%
CMYK
10%, 8%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #4F5158; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4F5158; color: #FFFFFF; }

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 #4F5158; background-color: #4F515815; }

Alert / Toast

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

Link / Accent

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

a { color: #4F5158; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

79, 81, 88

Red: 79 / Green: 81 / Blue: 88

HSL

227°, 5%, 33%

Hue: 227° / Saturation: 5% / Lightness: 33%

CMYK

10%, 8%, 0%, 65%

Cyan: 10% / Magenta: 8% / Yellow: 0% / Key: 65%

What color is #4F5158?

#4F5158 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4F5158 to RGB:

rgb(79, 81, 88)HEX to RGB Converter →

HEX to HSL

Convert #4F5158 to HSL:

hsl(227, 5%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #4F5158 to CMYK:

cmyk(10%, 8%, 0%, 65%)Color Converter →

Color Meaning and Usage

A neutral blue tone, #4F5158 has RGB (79, 81, 88) and HSL (227°, 5%, 33%). Known for evoking balance and subtlety, this desaturated neutral is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4F5158 is #585750, creating high-contrast pairings. For softer combinations, try analogous colors like #505658.

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

Contrast with #4F5158

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

Contrast Ratio: 2.65:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4F5158?

#4F5158 is a neutral blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #4F5158?

#4F5158 in RGB is (79, 81, 88) - 79 red, 81 green, and 88 blue.

How to use #4F5158 in CSS?

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

What colors go well with #4F5158?

#585750 (complementary), #505658 (analogous), and #2C2D30 (lighter shade) work well with #4F5158.