#5742CC

A medium, moderate blue closely aligning with Mediumslateblue.

About #5742CC

When working with digital screens, the color #5742CC is rendered by mixing light. It is closely associated with the named CSS color Mediumslateblue. In the RGB color space, it consists of 87 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 57% 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. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#5742CC
RGB87, 66, 204
HSL249.1°, 57.5%, 52.9%
CMYK57%, 68%, 0%, 20%
HSV249.1°, 67.6%, 80.0%
LAB38.3, 46.2, -68.6
XYZ16.8, 10.3, 58.2
Decimal5718732

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.57:1
Text on #F8FAFC
AA
2.60:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE