#321FDB Color Information

Hex color code: #321FDB

#321FDB is a bold blue color. In RGB it is (50, 31, 219), and in HSL it is (246°, 75%, 49%). It is frequently seen in web interfaces.

Try:
Color NameBlue
HEX
#321FDB
RGB
50, 31, 219
HSL
246°, 75%, 49%
CMYK
77%, 86%, 0%, 14%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #321FDB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #321FDB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #321FDB; 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 #321FDB; background-color: #321FDB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #321FDB20; border-left: 4px solid #321FDB; }

Link / Accent

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

a { color: #321FDB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #321FDB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

50, 31, 219

Red: 50 / Green: 31 / Blue: 219

HSL

246°, 75%, 49%

Hue: 246° / Saturation: 75% / Lightness: 49%

CMYK

77%, 86%, 0%, 14%

Cyan: 77% / Magenta: 86% / Yellow: 0% / Key: 14%

What color is #321FDB?

#321FDB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #321FDB to RGB:

rgb(50, 31, 219)HEX to RGB Converter →

HEX to HSL

Convert #321FDB to HSL:

hsl(246, 75%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #321FDB to CMYK:

cmyk(77%, 86%, 0%, 14%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #321FDB has RGB (50, 31, 219) and HSL (246°, 75%, 49%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #321FDB is #C8DB1F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F6ADB.

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

Contrast with #321FDB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #321FDB?

#321FDB is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #321FDB?

#321FDB in RGB is (50, 31, 219) - 50 red, 31 green, and 219 blue.

How to use #321FDB in CSS?

Use #321FDB directly in your CSS properties like color or background-color.

What colors go well with #321FDB?

#C8DB1F (complementary), #1F6ADB (analogous), and #231698 (lighter shade) work well with #321FDB.