#371DAF Color Information

Hex color code: #371DAF

#371DAF is a eye-catching blue color. In RGB it is (55, 29, 175), and in HSL it is (251°, 72%, 40%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#371DAF
RGB
55, 29, 175
HSL
251°, 72%, 40%
CMYK
69%, 83%, 0%, 31%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #371DAF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #371DAF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #371DAF; 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 #371DAF; background-color: #371DAF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #371DAF20; border-left: 4px solid #371DAF; }

Link / Accent

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

a { color: #371DAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #371DAF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

55, 29, 175

Red: 55 / Green: 29 / Blue: 175

HSL

251°, 72%, 40%

Hue: 251° / Saturation: 72% / Lightness: 40%

CMYK

69%, 83%, 0%, 31%

Cyan: 69% / Magenta: 83% / Yellow: 0% / Key: 31%

What color is #371DAF?

#371DAF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #371DAF to RGB:

rgb(55, 29, 175)HEX to RGB Converter →

HEX to HSL

Convert #371DAF to HSL:

hsl(251, 72%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #371DAF to CMYK:

cmyk(69%, 83%, 0%, 31%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #371DAF has RGB (55, 29, 175) and HSL (251°, 72%, 40%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #371DAF is #95AF1D, creating high-contrast pairings. For softer combinations, try analogous colors like #1D4BAF.

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

Contrast with #371DAF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #371DAF?

#371DAF is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #371DAF?

#371DAF in RGB is (55, 29, 175) - 55 red, 29 green, and 175 blue.

How to use #371DAF in CSS?

Use #371DAF directly in your CSS properties like color or background-color.

What colors go well with #371DAF?

#95AF1D (complementary), #1D4BAF (analogous), and #23126E (lighter shade) work well with #371DAF.