#5042C5
A medium, moderate blue closely aligning with Slateblue.
About #5042C5
Visually, #5042C5 is defined as a moderate blue. It is closely associated with the named CSS color Slateblue. This translates to an RGB value of rgb(80, 66, 197).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 59% Cyan, 66% Magenta, 0% Yellow, and 23% Black. With a hue angle of 246.4 degrees, it sits comfortably in the blue spectrum.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#5042C5
RGB80, 66, 197
HSL246.4°, 53.0%, 51.6%
CMYK59%, 66%, 0%, 23%
HSV246.4°, 66.5%, 77.3%
LAB37.2, 43.0, -66.5
XYZ15.3, 9.6, 53.9
Decimal5259973
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.18:1
Text on #FFFFFF
AAA
2.93:1
Text on #000000
FAIL
6.86:1
Text on #F8FAFC
AA
2.49:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5042C5;
}
.text-color {
color: #5042C5;
}
.border-color {
border: 2px solid #5042C5;
}