#331DC5

A medium, vivid blue closely aligning with Mediumblue.

About #331DC5

The precise color #331DC5 is an excellent choice for modern design projects. Its closest recognized web color is Mediumblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 29, and 197.

For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 74% cyan and 85% magenta inks. This makes it a relatively light color when applied to physical surfaces.

From a UX and accessibility standpoint, contrast is paramount. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#331DC5
RGB51, 29, 197
HSL247.9°, 74.3%, 44.3%
CMYK74%, 85%, 0%, 23%
HSV247.9°, 85.3%, 77.3%
LAB28.4, 58.6, -81.0
XYZ11.9, 5.6, 53.3
Decimal3349957

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

9.89:1
Text on #FFFFFF
AAA
2.12:1
Text on #000000
FAIL
9.46:1
Text on #F8FAFC
AAA
1.80:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #331DC5; }
.text-color { color: #331DC5; }
.border-color { border: 2px solid #331DC5; }

Similar Colors

Mediumblue
#0000CD