#5742D3
A medium, moderate blue closely aligning with Mediumslateblue.
About #5742D3
When working with digital screens, the color #5742D3 is rendered by mixing light. Its closest recognized web color is Mediumslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 87, 66, and 211.
Translating this color to physical media requires the CMYK color model. The color uses 59% Cyan, 69% Magenta, 0% Yellow, and 17% Black. The HSL representation is 248.7° hue, 62.2% saturation, and 54.3% lightness.
Contrast ratios determine whether this color is safe for typography. 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#5742D3
RGB87, 66, 211
HSL248.7°, 62.2%, 54.3%
CMYK59%, 69%, 0%, 17%
HSV248.7°, 68.7%, 82.7%
LAB38.9, 48.4, -71.7
XYZ17.6, 10.6, 62.7
Decimal5718739
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.72:1
Text on #FFFFFF
AA
3.13:1
Text on #000000
AA Large
6.42:1
Text on #F8FAFC
AA
2.66:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5742D3;
}
.text-color {
color: #5742D3;
}
.border-color {
border: 2px solid #5742D3;
}