#505FA8
A medium, moderate blue closely aligning with Darkslateblue.
About #505FA8
At its core, #505FA8 is a medium and moderate hue. It is closely associated with the named CSS color Darkslateblue. This translates to an RGB value of rgb(80, 95, 168).
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 52% cyan, 43% magenta, 0% yellow, and 34% black. The HSL representation is 229.8° hue, 35.5% saturation, and 48.6% lightness.
Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#505FA8
RGB80, 95, 168
HSL229.8°, 35.5%, 48.6%
CMYK52%, 43%, 0%, 34%
HSV229.8°, 52.4%, 65.9%
LAB42.3, 15.5, -41.1
XYZ14.5, 12.7, 38.7
Decimal5267368
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.93:1
Text on #FFFFFF
AA
3.54:1
Text on #000000
AA Large
5.66:1
Text on #F8FAFC
AA
3.01:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #505FA8;
}
.text-color {
color: #505FA8;
}
.border-color {
border: 2px solid #505FA8;
}