#3A42D3

A medium, moderate blue closely aligning with Mediumslateblue.

About #3A42D3

At its core, #3A42D3 is a medium and moderate hue. If you're using CSS, you might find it aligns closely with Mediumslateblue. In the RGB color space, it consists of 58 red, 66 green, and 211 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 73% cyan, 69% magenta, 0% yellow, and 17% black. 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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#3A42D3
RGB58, 66, 211
HSL236.9°, 63.5%, 52.7%
CMYK73%, 69%, 0%, 17%
HSV236.9°, 72.5%, 82.7%
LAB36.9, 44.7, -75.1
XYZ15.5, 9.5, 62.6
Decimal3818195

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.24:1
Text on #FFFFFF
AAA
2.90:1
Text on #000000
FAIL
6.92:1
Text on #F8FAFC
AA
2.47:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE