#5F5FF8
A light, vivid blue closely aligning with Mediumslateblue.
About #5F5FF8
The hex code #5F5FF8 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Mediumslateblue. This translates to an RGB value of rgb(95, 95, 248).
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 62% C, 62% M, 0% Y, and 3% K. The HSL representation is 240.0° hue, 91.6% saturation, and 67.3% lightness.
When using this color as a background, text legibility must be considered. 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#5F5FF8
RGB95, 95, 248
HSL240.0°, 91.6%, 67.3%
CMYK62%, 62%, 0%, 3%
HSV240.0°, 61.7%, 97.3%
LAB48.8, 44.4, -76.6
XYZ25.8, 17.4, 90.8
Decimal6250488
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.69:1
Text on #FFFFFF
AA
4.48:1
Text on #000000
AA Large
4.48:1
Text on #F8FAFC
AA Large
3.81:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #5F5FF8;
}
.text-color {
color: #5F5FF8;
}
.border-color {
border: 2px solid #5F5FF8;
}