#5F42C5
A medium, moderate blue closely aligning with Slateblue.
About #5F42C5
At its core, #5F42C5 is a medium and moderate hue. Designers often compare it to the standard color Slateblue. This translates to an RGB value of rgb(95, 66, 197).
For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 52% cyan, 66% magenta, 0% yellow, and 23% black. Always request a physical proof before doing a large print run with this exact code.
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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#5F42C5
RGB95, 66, 197
HSL253.3°, 53.0%, 51.6%
CMYK52%, 66%, 0%, 23%
HSV253.3°, 66.5%, 77.3%
LAB38.5, 45.5, -64.3
XYZ16.7, 10.4, 53.9
Decimal6243013
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.84:1
Text on #FFFFFF
AA
3.07:1
Text on #000000
AA Large
6.53:1
Text on #F8FAFC
AA
2.61:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F42C5;
}
.text-color {
color: #5F42C5;
}
.border-color {
border: 2px solid #5F42C5;
}