#4D5EC6

#4d5ec6 ≈ Royal Blue

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

#4d5ec6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.2% red, 36.86% green and 77.65% blue; printed in CMYK it uses 61.11% cyan, 52.53% magenta, 0% yellow and 22.35% black. Its hue angle is 231.57°, with 51.49% saturation and 53.92% 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.63:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.42.

Description generated from the measured properties of this color.

Conversions of #4d5ec6 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.1366

Readable text 5.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.73:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #5e6497 ≈ 0.001% of males
Protanopia #1f6dca ≈ 1.01% of males
Deuteranopia #0062c4 ≈ 1.27% of males
Tritanopia #007689 ≈ 0.0001% of males
Protanomaly #3767c8 ≈ 1.08% of males
Deuteranomaly #2d61c5 ≈ 4.63% of males
Tritanomaly #276da5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d5ec6 {
  color: #4d5ec6;
}
Background
.bg-4d5ec6 {
  background-color: #4d5ec6;
  color: #ffffff;
}
Border
.border-4d5ec6 {
  border: 2px solid #4d5ec6;
}
CSS variables
:root {
  --color-primary: #4d5ec6;
  --color-primary-rgb: 77 94 198;
  --color-primary-hsl: 232 51% 54%;
}
Gradient
.gradient-4d5ec6 {
  background: linear-gradient(135deg, #4d5ec6, #784dc6);
}
Colored shadow
.shadow-4d5ec6 {
  box-shadow: 0 8px 24px rgb(77 94 198 / 0.35);
}

Royal Blue
#4d5ec6  rgb(77, 94, 198)  hsl(232, 51%, 54%)  Royal Blue
#c6b54d  rgb(198, 181, 77)  hsl(52, 51%, 54%)  Vegas Gold
#c64d5e  rgb(198, 77, 94)  hsl(352, 51%, 54%)  Brick Red
#5ec64d  rgb(94, 198, 77)  hsl(112, 51%, 54%)  Mantis