#505799
A medium, moderate blue closely aligning with Darkslateblue.
About #505799
At its core, #505799 is a medium and moderate hue. Its closest recognized web color is Darkslateblue. Its digital footprint relies on 80 parts red, 87 parts green, and 153 parts blue light.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 48% C, 43% M, 0% Y, and 40% K. The HSL representation is 234.2° hue, 31.3% saturation, and 45.7% lightness.
Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#505799
RGB80, 87, 153
HSL234.2°, 31.3%, 45.7%
CMYK48%, 43%, 0%, 40%
HSV234.2°, 47.7%, 60.0%
LAB39.3, 15.8, -37.1
XYZ12.5, 10.8, 31.6
Decimal5265305
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.64:1
Text on #FFFFFF
AA
3.16:1
Text on #000000
AA Large
6.34:1
Text on #F8FAFC
AA
2.69:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #505799;
}
.text-color {
color: #505799;
}
.border-color {
border: 2px solid #505799;
}