#2F426A Color Information

Hex color code: #2F426A

The hex color #2F426A is a gentle blue with RGB values of (47, 66, 106) and HSL of (221°, 39%, 30%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#2F426A
RGB
47, 66, 106
HSL
221°, 39%, 30%
CMYK
56%, 38%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F426A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 66, 106

Red: 47 / Green: 66 / Blue: 106

HSL

221°, 39%, 30%

Hue: 221° / Saturation: 39% / Lightness: 30%

CMYK

56%, 38%, 0%, 58%

Cyan: 56% / Magenta: 38% / Yellow: 0% / Key: 58%

What color is #2F426A?

#2F426A is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F426A to RGB:

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

HEX to HSL

Convert #2F426A to HSL:

hsl(221, 39%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #2F426A to CMYK:

cmyk(56%, 38%, 0%, 58%)Color Converter →

Color Meaning and Usage

A gentle blue tone, #2F426A has RGB (47, 66, 106) and HSL (221°, 39%, 30%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F426A is #6A572F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F5F6A.

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

Contrast with #2F426A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F426A?

#2F426A is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2F426A?

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

How to use #2F426A in CSS?

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

What colors go well with #2F426A?

#6A572F (complementary), #2F5F6A (analogous), and #172135 (lighter shade) work well with #2F426A.