#5F42CC

A medium, moderate blue closely aligning with Mediumslateblue.

About #5F42CC

At its core, #5F42CC is a medium and moderate hue. Designers often compare it to the standard color Mediumslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 66, and 204.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 53% C, 68% M, 0% Y, and 20% K. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. 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#5F42CC
RGB95, 66, 204
HSL252.6°, 57.5%, 52.9%
CMYK53%, 68%, 0%, 20%
HSV252.6°, 67.6%, 80.0%
LAB39.1, 47.5, -67.5
XYZ17.6, 10.7, 58.3
Decimal6243020

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.69:1
Text on #FFFFFF
AA
3.14:1
Text on #000000
AA Large
6.40:1
Text on #F8FAFC
AA
2.67:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #5F42CC; }
.text-color { color: #5F42CC; }
.border-color { border: 2px solid #5F42CC; }

Similar Colors

Mediumslateblue
#7B68EE