#506DDB
A medium, moderate blue closely aligning with Royalblue.
About #506DDB
The hex code #506DDB represents a beautifully specific shade of blue. It is closely associated with the named CSS color Royalblue. In the RGB color space, it consists of 80 red, 109 green, and 219 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 63% Cyan, 50% Magenta, 0% Yellow, and 14% Black. This makes it a relatively light color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. 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#506DDB
RGB80, 109, 219
HSL227.5°, 65.9%, 58.6%
CMYK63%, 50%, 0%, 14%
HSV227.5°, 63.5%, 85.9%
LAB49.2, 23.9, -59.6
XYZ21.6, 17.8, 69.3
Decimal5271003
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.61:1
Text on #FFFFFF
AA
4.55:1
Text on #000000
AA
4.41:1
Text on #F8FAFC
AA Large
3.87:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #506DDB;
}
.text-color {
color: #506DDB;
}
.border-color {
border: 2px solid #506DDB;
}