#2F17BA Color Information

Hex color code: #2F17BA

The hex color #2F17BA is a eye-catching blue with RGB values of (47, 23, 186) and HSL of (249°, 78%, 41%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#2F17BA
RGB
47, 23, 186
HSL
249°, 78%, 41%
CMYK
75%, 88%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F17BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 23, 186

Red: 47 / Green: 23 / Blue: 186

HSL

249°, 78%, 41%

Hue: 249° / Saturation: 78% / Lightness: 41%

CMYK

75%, 88%, 0%, 27%

Cyan: 75% / Magenta: 88% / Yellow: 0% / Key: 27%

What color is #2F17BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F17BA to RGB:

rgb(47, 23, 186)HEX to RGB Converter →

HEX to HSL

Convert #2F17BA to HSL:

hsl(249, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #2F17BA to CMYK:

cmyk(75%, 88%, 0%, 27%)Color Converter →

Color Meaning and Usage

A bold blue tone, #2F17BA has RGB (47, 23, 186) and HSL (249°, 78%, 41%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F17BA is #A2BA17, creating high-contrast pairings. For softer combinations, try analogous colors like #1750BA.

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

Contrast with #2F17BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F17BA?

#2F17BA is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2F17BA?

#2F17BA in RGB is (47, 23, 186) - 47 red, 23 green, and 186 blue.

How to use #2F17BA in CSS?

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

What colors go well with #2F17BA?

#A2BA17 (complementary), #1750BA (analogous), and #1E0F76 (lighter shade) work well with #2F17BA.