#505FC6

#505fc6 ≈ Royal Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#505fc6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.37% red, 37.25% green and 77.65% blue; printed in CMYK it uses 59.6% cyan, 52.02% magenta, 0% yellow and 22.35% black. Its hue angle is 232.37°, with 50.86% saturation and 54.51% 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 5.54:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.35.

Description generated from the measured properties of this color.

Conversions of #505fc6 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.1397

Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #606597 ≈ 0.001% of males
Protanopia #236eca ≈ 1.01% of males
Deuteranopia #0064c4 ≈ 1.27% of males
Tritanopia #007789 ≈ 0.0001% of males
Protanomaly #3a68c8 ≈ 1.08% of males
Deuteranomaly #3262c5 ≈ 4.63% of males
Tritanomaly #2d6ea5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-505fc6 {
  color: #505fc6;
}
Background
.bg-505fc6 {
  background-color: #505fc6;
  color: #ffffff;
}
Border
.border-505fc6 {
  border: 2px solid #505fc6;
}
CSS variables
:root {
  --color-primary: #505fc6;
  --color-primary-rgb: 80 95 198;
  --color-primary-hsl: 232 51% 55%;
}
Gradient
.gradient-505fc6 {
  background: linear-gradient(135deg, #505fc6, #7c50c6);
}
Colored shadow
.shadow-505fc6 {
  box-shadow: 0 8px 24px rgb(80 95 198 / 0.35);
}

Royal Blue
#505fc6  rgb(80, 95, 198)  hsl(232, 51%, 55%)  Royal Blue
#c6b750  rgb(198, 183, 80)  hsl(52, 51%, 55%)  Vegas Gold
#c6505f  rgb(198, 80, 95)  hsl(352, 51%, 55%)  Brick Red
#5fc650  rgb(95, 198, 80)  hsl(112, 51%, 55%)  Mantis