#506CD2

#506cd2 ≈ Royal Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#506cd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 31.37% red, 42.35% green and 82.35% blue; printed in CMYK it uses 61.9% cyan, 48.57% magenta, 0% yellow and 17.65% black. Its hue angle is 227.08°, with 59.09% saturation and 56.86% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 4.75:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #506cd2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1708

Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #6770a2 ≈ 0.001% of males
Protanopia #3779d6 ≈ 1.01% of males
Deuteranopia #1c6dd0 ≈ 1.27% of males
Tritanopia #008395 ≈ 0.0001% of males
Protanomaly #4274d4 ≈ 1.08% of males
Deuteranomaly #386dd1 ≈ 4.63% of males
Tritanomaly #237bb1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-506cd2 {
  color: #506cd2;
}
Background
.bg-506cd2 {
  background-color: #506cd2;
  color: #ffffff;
}
Border
.border-506cd2 {
  border: 2px solid #506cd2;
}
CSS variables
:root {
  --color-primary: #506cd2;
  --color-primary-rgb: 80 108 210;
  --color-primary-hsl: 227 59% 57%;
}
Gradient
.gradient-506cd2 {
  background: linear-gradient(135deg, #506cd2, #7550d2);
}
Colored shadow
.shadow-506cd2 {
  box-shadow: 0 8px 24px rgb(80 108 210 / 0.35);
}

Royal Blue
#506cd2  rgb(80, 108, 210)  hsl(227, 59%, 57%)  Royal Blue
#d2b650  rgb(210, 182, 80)  hsl(47, 59%, 57%)  Old Gold
#d2506c  rgb(210, 80, 108)  hsl(347, 59%, 57%)  Cerise
#6cd250  rgb(108, 210, 80)  hsl(107, 59%, 57%)  Lime Green