#2F3C42 Color Information

Hex color code: #2F3C42

#2F3C42 is a dramatic blue color. In RGB it is (47, 60, 66), and in HSL it is (199°, 17%, 22%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#2F3C42
RGB
47, 60, 66
HSL
199°, 17%, 22%
CMYK
29%, 9%, 0%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F3C42; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 60, 66

Red: 47 / Green: 60 / Blue: 66

HSL

199°, 17%, 22%

Hue: 199° / Saturation: 17% / Lightness: 22%

CMYK

29%, 9%, 0%, 74%

Cyan: 29% / Magenta: 9% / Yellow: 0% / Key: 74%

What color is #2F3C42?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F3C42 to RGB:

rgb(47, 60, 66)HEX to RGB Converter →

HEX to HSL

Convert #2F3C42 to HSL:

hsl(199, 17%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #2F3C42 to CMYK:

cmyk(29%, 9%, 0%, 74%)Color Converter →

Color Meaning and Usage

#2F3C42 is a intense blue color with RGB values of 47, 60, 66 and HSL of 199°, 17%, 22%. This cyan-blue hue evokes trust and professionalism, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F3C42 is #42352F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F423E.

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

Contrast with #2F3C42

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F3C42?

#2F3C42 is a intense blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #2F3C42?

#2F3C42 in RGB is (47, 60, 66) - 47 red, 60 green, and 66 blue.

How to use #2F3C42 in CSS?

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

What colors go well with #2F3C42?

#42352F (complementary), #2F423E (analogous), and #0F1315 (lighter shade) work well with #2F3C42.