#331DE2

A medium, vivid blue closely aligning with Mediumblue.

About #331DE2

When working with digital screens, the color #331DE2 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Mediumblue. Its digital footprint relies on 51 parts red, 29 parts green, and 226 parts blue light.

If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 77% cyan and 87% magenta inks. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#331DE2
RGB51, 29, 226
HSL246.7°, 77.3%, 50.0%
CMYK77%, 87%, 0%, 11%
HSV246.7°, 87.2%, 88.6%
LAB32.0, 66.6, -91.9
XYZ15.5, 7.1, 72.5
Decimal3349986

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.70:1
Text on #FFFFFF
AAA
2.41:1
Text on #000000
FAIL
8.31:1
Text on #F8FAFC
AAA
2.05:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumblue
#0000CD