#4242CC

A medium, moderate blue closely aligning with Mediumslateblue.

About #4242CC

At its core, #4242CC is a medium and moderate hue. It is closely associated with the named CSS color Mediumslateblue. In the RGB color space, it consists of 66 red, 66 green, and 204 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 68% cyan and 68% magenta inks. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#4242CC
RGB66, 66, 204
HSL240.0°, 57.5%, 52.9%
CMYK68%, 68%, 0%, 20%
HSV240.0°, 67.6%, 80.0%
LAB36.8, 43.3, -71.3
XYZ15.1, 9.4, 58.1
Decimal4342476

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.28:1
Text on #FFFFFF
AAA
2.88:1
Text on #000000
FAIL
6.96:1
Text on #F8FAFC
AA
2.45:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #4242CC; }
.text-color { color: #4242CC; }
.border-color { border: 2px solid #4242CC; }

Similar Colors

Mediumslateblue
#7B68EE