#4064CF

#4064cf ≈ Royal Blue

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

#4064cf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 39.22% green and 81.18% blue; printed in CMYK it uses 69.08% cyan, 51.69% magenta, 0% yellow and 18.82% black. Its hue angle is 224.9°, with 59.83% saturation and 53.14% 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.33:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.87.

Description generated from the measured properties of this color.

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

Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #5d689d ≈ 0.001% of males
Protanopia #2072d3 ≈ 1.01% of males
Deuteranopia #0065cd ≈ 1.27% of males
Tritanopia #007d90 ≈ 0.0001% of males
Protanomaly #2f6dd1 ≈ 1.08% of males
Deuteranomaly #1d64ce ≈ 4.63% of males
Tritanomaly #0074ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4064cf {
  color: #4064cf;
}
Background
.bg-4064cf {
  background-color: #4064cf;
  color: #ffffff;
}
Border
.border-4064cf {
  border: 2px solid #4064cf;
}
CSS variables
:root {
  --color-primary: #4064cf;
  --color-primary-rgb: 64 100 207;
  --color-primary-hsl: 225 60% 53%;
}
Gradient
.gradient-4064cf {
  background: linear-gradient(135deg, #4064cf, #6440cf);
}
Colored shadow
.shadow-4064cf {
  box-shadow: 0 8px 24px rgb(64 100 207 / 0.35);
}

Royal Blue
#4064cf  rgb(64, 100, 207)  hsl(225, 60%, 53%)  Royal Blue
#cfab40  rgb(207, 171, 64)  hsl(45, 60%, 53%)  Metallic Gold
#cf4064  rgb(207, 64, 100)  hsl(345, 60%, 53%)  Cerise
#64cf40  rgb(100, 207, 64)  hsl(105, 60%, 53%)  Lime Green