#313FE3 Color Information

Hex color code: #313FE3

A striking blue shade, #313FE3 appears as (49, 63, 227) in RGB and (235°, 76%, 54%) in HSL. It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#313FE3
RGB
49, 63, 227
HSL
235°, 76%, 54%
CMYK
78%, 72%, 0%, 11%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #313FE3, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #313FE3; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #313FE3; 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 #313FE3; background-color: #313FE315; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #313FE320; border-left: 4px solid #313FE3; }

Link / Accent

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

a { color: #313FE3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #313FE3 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 63, 227

Red: 49 / Green: 63 / Blue: 227

HSL

235°, 76%, 54%

Hue: 235° / Saturation: 76% / Lightness: 54%

CMYK

78%, 72%, 0%, 11%

Cyan: 78% / Magenta: 72% / Yellow: 0% / Key: 11%

What color is #313FE3?

#313FE3 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313FE3 to RGB:

rgb(49, 63, 227)HEX to RGB Converter →

HEX to HSL

Convert #313FE3 to HSL:

hsl(235, 76%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #313FE3 to CMYK:

cmyk(78%, 72%, 0%, 11%)Color Converter →

Color Meaning and Usage

#313FE3 is a dynamic blue color with RGB values of 49, 63, 227 and HSL of 235°, 76%, 54%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313FE3 is #E3D431, creating high-contrast pairings. For softer combinations, try analogous colors like #3199E3.

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

Contrast with #313FE3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313FE3?

#313FE3 is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #313FE3?

#313FE3 in RGB is (49, 63, 227) - 49 red, 63 green, and 227 blue.

How to use #313FE3 in CSS?

Use #313FE3 directly in your CSS properties like color or background-color.

What colors go well with #313FE3?

#E3D431 (complementary), #3199E3 (analogous), and #1824AF (lighter shade) work well with #313FE3.