#2F306A Color Information

Hex color code: #2F306A

#2F306A is a gentle blue color. In RGB it is (47, 48, 106), and in HSL it is (239°, 39%, 30%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#2F306A
RGB
47, 48, 106
HSL
239°, 39%, 30%
CMYK
56%, 55%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F306A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 48, 106

Red: 47 / Green: 48 / Blue: 106

HSL

239°, 39%, 30%

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

CMYK

56%, 55%, 0%, 58%

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

What color is #2F306A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F306A to RGB:

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

HEX to HSL

Convert #2F306A to HSL:

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

HEX to CMYK

Convert #2F306A to CMYK:

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

Color Meaning and Usage

#2F306A is a soft blue color with RGB values of 47, 48, 106 and HSL of 239°, 39%, 30%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F306A is #6A692F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F4D6A.

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

Contrast with #2F306A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F306A?

#2F306A is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2F306A?

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

How to use #2F306A in CSS?

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

What colors go well with #2F306A?

#6A692F (complementary), #2F4D6A (analogous), and #171835 (lighter shade) work well with #2F306A.