#406EF2

#406ef2 ≈ Royal Blue

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

#406ef2 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.14% green and 94.9% blue; printed in CMYK it uses 73.55% cyan, 54.55% magenta, 0% yellow and 5.1% black. Its hue angle is 224.49°, with 87.25% saturation and 60% 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.73:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.74.

Description generated from the measured properties of this color.

Conversions of #406ef2 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.1865

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #6674b6 ≈ 0.001% of males
Protanopia #0080f7 ≈ 1.01% of males
Deuteranopia #0070ef ≈ 1.27% of males
Tritanopia #008ea5 ≈ 0.0001% of males
Protanomaly #2079f5 ≈ 1.08% of males
Deuteranomaly #006ff0 ≈ 4.63% of males
Tritanomaly #0083c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-406ef2 {
  color: #406ef2;
}
Background
.bg-406ef2 {
  background-color: #406ef2;
  color: #000000;
}
Border
.border-406ef2 {
  border: 2px solid #406ef2;
}
CSS variables
:root {
  --color-primary: #406ef2;
  --color-primary-rgb: 64 110 242;
  --color-primary-hsl: 224 87% 60%;
}
Gradient
.gradient-406ef2 {
  background: linear-gradient(135deg, #406ef2, #6b40f2);
}
Colored shadow
.shadow-406ef2 {
  box-shadow: 0 8px 24px rgb(64 110 242 / 0.35);
}

Royal Blue
#406ef2  rgb(64, 110, 242)  hsl(224, 87%, 60%)  Royal Blue
#f2c440  rgb(242, 196, 64)  hsl(44, 87%, 60%)  Saffron
#f2406e  rgb(242, 64, 110)  hsl(344, 87%, 60%)  Neon Fuchsia
#6ef240  rgb(110, 242, 64)  hsl(104, 87%, 60%)  Neon Green