#5042D3

A medium, moderate blue closely aligning with Mediumslateblue.

About #5042D3

Visually, #5042D3 is defined as a moderate blue. Its closest recognized web color is Mediumslateblue. This translates to an RGB value of rgb(80, 66, 211).

Translating this color to physical media requires the CMYK color model. The color uses 62% Cyan, 69% Magenta, 0% Yellow, and 17% Black. With a hue angle of 245.8 degrees, it sits comfortably in the blue spectrum.

When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#5042D3
RGB80, 66, 211
HSL245.8°, 62.2%, 54.3%
CMYK62%, 69%, 0%, 17%
HSV245.8°, 68.7%, 82.7%
LAB38.4, 47.4, -72.6
XYZ17.0, 10.3, 62.7
Decimal5259987

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.86:1
Text on #FFFFFF
AA
3.06:1
Text on #000000
AA Large
6.56:1
Text on #F8FAFC
AA
2.60:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE