#5042CC

A medium, moderate blue closely aligning with Mediumslateblue.

About #5042CC

At its core, #5042CC is a medium and moderate hue. Designers often compare it to the standard color Mediumslateblue. Its digital footprint relies on 80 parts red, 66 parts green, and 204 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 61% Cyan, 68% Magenta, 0% Yellow, and 20% Black. The HSL representation is 246.1° hue, 57.5% saturation, and 52.9% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a medium color, it is generally recommended to use #FFFFFF text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#5042CC
RGB80, 66, 204
HSL246.1°, 57.5%, 52.9%
CMYK61%, 68%, 0%, 20%
HSV246.1°, 67.6%, 80.0%
LAB37.8, 45.2, -69.6
XYZ16.2, 10.0, 58.2
Decimal5259980

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.02:1
Text on #FFFFFF
AAA
2.99:1
Text on #000000
FAIL
6.71:1
Text on #F8FAFC
AA
2.54:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE