#5F50B6
A medium, moderate blue closely aligning with Slateblue.
About #5F50B6
The hex code #5F50B6 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Slateblue. In the RGB color space, it consists of 95 red, 80 green, and 182 blue.
Translating this color to physical media requires the CMYK color model. The color uses 48% Cyan, 56% Magenta, 0% Yellow, and 29% Black. The HSL representation is 248.8° hue, 41.1% saturation, and 51.4% lightness.
Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#5F50B6
RGB95, 80, 182
HSL248.8°, 41.1%, 51.4%
CMYK48%, 56%, 0%, 29%
HSV248.8°, 56.0%, 71.4%
LAB40.5, 32.8, -52.3
XYZ16.0, 11.5, 45.6
Decimal6246582
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.35:1
Text on #FFFFFF
AA
3.31:1
Text on #000000
AA Large
6.06:1
Text on #F8FAFC
AA
2.81:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F50B6;
}
.text-color {
color: #5F50B6;
}
.border-color {
border: 2px solid #5F50B6;
}