#3A42C5

A medium, moderate blue closely aligning with Slateblue.

About #3A42C5

The hex code #3A42C5 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Slateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 66, and 197.

When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 71% cyan and 66% magenta inks. With a hue angle of 236.5 degrees, it sits comfortably in the blue spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#3A42C5
RGB58, 66, 197
HSL236.5°, 54.5%, 50.0%
CMYK71%, 66%, 0%, 23%
HSV236.5°, 70.6%, 77.3%
LAB35.6, 40.0, -69.1
XYZ13.8, 8.8, 53.8
Decimal3818181

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.59:1
Text on #FFFFFF
AAA
2.77:1
Text on #000000
FAIL
7.26:1
Text on #F8FAFC
AAA
2.35:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Slateblue
#6A5ACD