#5F42D3

A medium, moderate blue closely aligning with Mediumslateblue.

About #5F42D3

The precise color #5F42D3 is an excellent choice for modern design projects. Its closest recognized web color is Mediumslateblue. This translates to an RGB value of rgb(95, 66, 211).

For print applications, it's crucial to understand its CMYK makeup. The color uses 55% 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. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#5F42D3
RGB95, 66, 211
HSL252.0°, 62.2%, 54.3%
CMYK55%, 69%, 0%, 17%
HSV252.0°, 68.7%, 82.7%
LAB39.6, 49.6, -70.5
XYZ18.4, 11.0, 62.8
Decimal6243027

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.55:1
Text on #FFFFFF
AA
3.21:1
Text on #000000
AA Large
6.26:1
Text on #F8FAFC
AA
2.73:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE