#4D5FD7

#4d5fd7 ≈ Royal Blue

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

#4d5fd7 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.2% red, 37.25% green and 84.31% blue; printed in CMYK it uses 64.19% cyan, 55.81% magenta, 0% yellow and 15.69% black. Its hue angle is 232.17°, with 63.3% saturation and 57.25% 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.34:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.18.

Description generated from the measured properties of this color.

Conversions of #4d5fd7 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.1467

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #6066a2 ≈ 0.001% of males
Protanopia #0071db ≈ 1.01% of males
Deuteranopia #0065d5 ≈ 1.27% of males
Tritanopia #007c92 ≈ 0.0001% of males
Protanomaly #2c6ad9 ≈ 1.08% of males
Deuteranomaly #1d63d6 ≈ 4.63% of males
Tritanomaly #1571b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d5fd7 {
  color: #4d5fd7;
}
Background
.bg-4d5fd7 {
  background-color: #4d5fd7;
  color: #ffffff;
}
Border
.border-4d5fd7 {
  border: 2px solid #4d5fd7;
}
CSS variables
:root {
  --color-primary: #4d5fd7;
  --color-primary-rgb: 77 95 215;
  --color-primary-hsl: 232 63% 57%;
}
Gradient
.gradient-4d5fd7 {
  background: linear-gradient(135deg, #4d5fd7, #804dd7);
}
Colored shadow
.shadow-4d5fd7 {
  box-shadow: 0 8px 24px rgb(77 95 215 / 0.35);
}

Royal Blue
#4d5fd7  rgb(77, 95, 215)  hsl(232, 63%, 57%)  Royal Blue
#d7c54d  rgb(215, 197, 77)  hsl(52, 63%, 57%)  Old Gold
#d74d5f  rgb(215, 77, 95)  hsl(352, 63%, 57%)  Brick Red
#5fd74d  rgb(95, 215, 77)  hsl(112, 63%, 57%)  Lime Green