#5F42BD
A medium, moderate blue closely aligning with Slateblue.
About #5F42BD
At its core, #5F42BD is a medium and moderate hue. It is closely associated with the named CSS color Slateblue. In the RGB color space, it consists of 95 red, 66 green, and 189 blue.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 50% C, 65% M, 0% Y, and 26% K. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#5F42BD
RGB95, 66, 189
HSL254.1°, 48.2%, 50.0%
CMYK50%, 65%, 0%, 26%
HSV254.1°, 65.1%, 74.1%
LAB37.8, 43.1, -60.7
XYZ15.9, 10.0, 49.2
Decimal6243005
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.00:1
Text on #FFFFFF
AA
3.00:1
Text on #000000
AA Large
6.69:1
Text on #F8FAFC
AA
2.55:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F42BD;
}
.text-color {
color: #5F42BD;
}
.border-color {
border: 2px solid #5F42BD;
}