#3A42CC

A medium, moderate blue closely aligning with Mediumslateblue.

About #3A42CC

When working with digital screens, the color #3A42CC is rendered by mixing light. Its closest recognized web color is Mediumslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 66, and 204.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 72% cyan and 68% magenta inks. Always request a physical proof before doing a large print run with this exact code.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#3A42CC
RGB58, 66, 204
HSL236.7°, 58.9%, 51.4%
CMYK72%, 68%, 0%, 20%
HSV236.7°, 71.6%, 80.0%
LAB36.3, 42.4, -72.1
XYZ14.6, 9.2, 58.1
Decimal3818188

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.42:1
Text on #FFFFFF
AAA
2.83:1
Text on #000000
FAIL
7.09:1
Text on #F8FAFC
AAA
2.41:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE