#3A42E2

A medium, vivid blue closely aligning with Blueviolet.

About #3A42E2

The precise color #3A42E2 is an excellent choice for modern design projects. It is closely associated with the named CSS color Blueviolet. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 66, and 226.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 74% cyan and 71% magenta inks. The HSL representation is 237.1° hue, 74.3% saturation, and 55.7% lightness.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#3A42E2
RGB58, 66, 226
HSL237.1°, 74.3%, 55.7%
CMYK74%, 71%, 0%, 11%
HSV237.1°, 74.3%, 88.6%
LAB38.4, 49.7, -81.3
XYZ17.4, 10.3, 73.0
Decimal3818210

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.87:1
Text on #FFFFFF
AA
3.06:1
Text on #000000
AA Large
6.56:1
Text on #F8FAFC
AA
2.60:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #3A42E2; }
.text-color { color: #3A42E2; }
.border-color { border: 2px solid #3A42E2; }

Similar Colors

Blueviolet
#8A2BE2