#4E64C6

#4e64c6 ≈ Royal Blue

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

#4e64c6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 39.22% green and 77.65% blue; printed in CMYK it uses 60.61% cyan, 49.49% magenta, 0% yellow and 22.35% black. Its hue angle is 229°, with 51.28% saturation and 54.12% 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.3:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.09.

Description generated from the measured properties of this color.

Conversions of #4e64c6 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.1481

Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #616898 ≈ 0.001% of males
Protanopia #3071ca ≈ 1.01% of males
Deuteranopia #1866c4 ≈ 1.27% of males
Tritanopia #007a8b ≈ 0.0001% of males
Protanomaly #3e6cc8 ≈ 1.08% of males
Deuteranomaly #3565c5 ≈ 4.63% of males
Tritanomaly #2872a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e64c6 {
  color: #4e64c6;
}
Background
.bg-4e64c6 {
  background-color: #4e64c6;
  color: #ffffff;
}
Border
.border-4e64c6 {
  border: 2px solid #4e64c6;
}
CSS variables
:root {
  --color-primary: #4e64c6;
  --color-primary-rgb: 78 100 198;
  --color-primary-hsl: 229 51% 54%;
}
Gradient
.gradient-4e64c6 {
  background: linear-gradient(135deg, #4e64c6, #744ec6);
}
Colored shadow
.shadow-4e64c6 {
  box-shadow: 0 8px 24px rgb(78 100 198 / 0.35);
}

Royal Blue
#4e64c6  rgb(78, 100, 198)  hsl(229, 51%, 54%)  Royal Blue
#c6b04e  rgb(198, 176, 78)  hsl(49, 51%, 54%)  Vegas Gold
#c64e64  rgb(198, 78, 100)  hsl(349, 51%, 54%)  Brick Red
#64c64e  rgb(100, 198, 78)  hsl(109, 51%, 54%)  Mantis