#2F4851 Color Information

Hex color code: #2F4851

The hex color #2F4851 is a gentle blue with RGB values of (47, 72, 81) and HSL of (196°, 27%, 25%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#2F4851
RGB
47, 72, 81
HSL
196°, 27%, 25%
CMYK
42%, 11%, 0%, 68%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2F4851, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2F4851; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2F4851; 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 #2F4851; background-color: #2F485115; }

Alert / Toast

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

Link / Accent

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

a { color: #2F4851; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2F4851 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 72, 81

Red: 47 / Green: 72 / Blue: 81

HSL

196°, 27%, 25%

Hue: 196° / Saturation: 27% / Lightness: 25%

CMYK

42%, 11%, 0%, 68%

Cyan: 42% / Magenta: 11% / Yellow: 0% / Key: 68%

What color is #2F4851?

#2F4851 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F4851 to RGB:

rgb(47, 72, 81)HEX to RGB Converter →

HEX to HSL

Convert #2F4851 to HSL:

hsl(196, 27%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #2F4851 to CMYK:

cmyk(42%, 11%, 0%, 68%)Color Converter →

Color Meaning and Usage

A soft blue tone, #2F4851 has RGB (47, 72, 81) and HSL (196°, 27%, 25%). Known for evoking trust and professionalism, this cyan-blue hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F4851 is #51382F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F5149.

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

Contrast with #2F4851

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F4851?

#2F4851 is a soft blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #2F4851?

#2F4851 in RGB is (47, 72, 81) - 47 red, 72 green, and 81 blue.

How to use #2F4851 in CSS?

Use #2F4851 directly in your CSS properties like color or background-color.

What colors go well with #2F4851?

#51382F (complementary), #2F5149 (analogous), and #131D20 (lighter shade) work well with #2F4851.