#310DBF Color Information

Hex color code: #310DBF

#310DBF is a vivid blue color. In RGB it is (49, 13, 191), and in HSL it is (252°, 87%, 40%). It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#310DBF
RGB
49, 13, 191
HSL
252°, 87%, 40%
CMYK
74%, 93%, 0%, 25%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #310DBF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #310DBF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #310DBF; 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 #310DBF; background-color: #310DBF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #310DBF20; border-left: 4px solid #310DBF; }

Link / Accent

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

a { color: #310DBF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #310DBF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 13, 191

Red: 49 / Green: 13 / Blue: 191

HSL

252°, 87%, 40%

Hue: 252° / Saturation: 87% / Lightness: 40%

CMYK

74%, 93%, 0%, 25%

Cyan: 74% / Magenta: 93% / Yellow: 0% / Key: 25%

What color is #310DBF?

#310DBF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #310DBF to RGB:

rgb(49, 13, 191)HEX to RGB Converter →

HEX to HSL

Convert #310DBF to HSL:

hsl(252, 87%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #310DBF to CMYK:

cmyk(74%, 93%, 0%, 25%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #310DBF has RGB (49, 13, 191) and HSL (252°, 87%, 40%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #310DBF is #9BBF0D, creating high-contrast pairings. For softer combinations, try analogous colors like #0D43BF.

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

Contrast with #310DBF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #310DBF?

#310DBF is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #310DBF?

#310DBF in RGB is (49, 13, 191) - 49 red, 13 green, and 191 blue.

How to use #310DBF in CSS?

Use #310DBF directly in your CSS properties like color or background-color.

What colors go well with #310DBF?

#9BBF0D (complementary), #0D43BF (analogous), and #1E0877 (lighter shade) work well with #310DBF.