#5042A0
A medium, moderate blue closely aligning with Darkslateblue.
About #5042A0
When working with digital screens, the color #5042A0 is rendered by mixing light. Its closest recognized web color is Darkslateblue. Its digital footprint relies on 80 parts red, 66 parts green, and 160 parts blue light.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 50% Cyan, 59% Magenta, 0% Yellow, and 37% Black. With a hue angle of 248.9 degrees, it sits comfortably in the blue spectrum.
From a UX and accessibility standpoint, contrast is paramount. 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#5042A0
RGB80, 66, 160
HSL248.9°, 41.6%, 44.3%
CMYK50%, 59%, 0%, 37%
HSV248.9°, 58.7%, 62.7%
LAB34.3, 31.3, -49.3
XYZ11.6, 8.1, 34.2
Decimal5259936
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.99:1
Text on #FFFFFF
AAA
2.63:1
Text on #000000
FAIL
7.64:1
Text on #F8FAFC
AAA
2.23:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5042A0;
}
.text-color {
color: #5042A0;
}
.border-color {
border: 2px solid #5042A0;
}