#4070EA

#4070ea ≈ Royal Blue

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

#4070ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 43.92% green and 91.76% blue; printed in CMYK it uses 72.65% cyan, 52.14% magenta, 0% yellow and 8.24% black. Its hue angle is 223.06°, with 80.19% saturation and 58.43% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 4.72:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.72.

Description generated from the measured properties of this color.

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

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #6675b1 ≈ 0.001% of males
Protanopia #1980ee ≈ 1.01% of males
Deuteranopia #0070e8 ≈ 1.27% of males
Tritanopia #008da2 ≈ 0.0001% of males
Protanomaly #2d7aed ≈ 1.08% of males
Deuteranomaly #0a70e9 ≈ 4.63% of males
Tritanomaly #0083c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4070ea {
  color: #4070ea;
}
Background
.bg-4070ea {
  background-color: #4070ea;
  color: #000000;
}
Border
.border-4070ea {
  border: 2px solid #4070ea;
}
CSS variables
:root {
  --color-primary: #4070ea;
  --color-primary-rgb: 64 112 234;
  --color-primary-hsl: 223 80% 58%;
}
Gradient
.gradient-4070ea {
  background: linear-gradient(135deg, #4070ea, #6540ea);
}
Colored shadow
.shadow-4070ea {
  box-shadow: 0 8px 24px rgb(64 112 234 / 0.35);
}

Royal Blue
#4070ea  rgb(64, 112, 234)  hsl(223, 80%, 58%)  Royal Blue
#eaba40  rgb(234, 186, 64)  hsl(43, 80%, 58%)  Meat Brown
#ea4070  rgb(234, 64, 112)  hsl(343, 80%, 58%)  Cerise
#70ea40  rgb(112, 234, 64)  hsl(103, 80%, 58%)  Lawn Green