#406FEF

#406fef ≈ Royal Blue

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

#406fef 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.53% green and 93.73% blue; printed in CMYK it uses 73.22% cyan, 53.56% magenta, 0% yellow and 6.27% black. Its hue angle is 223.89°, with 84.54% saturation and 59.41% 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.74:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #406fef 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.1869

Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #6674b4 ≈ 0.001% of males
Protanopia #0080f3 ≈ 1.01% of males
Deuteranopia #0070ec ≈ 1.27% of males
Tritanopia #008ea4 ≈ 0.0001% of males
Protanomaly #267af2 ≈ 1.08% of males
Deuteranomaly #0070ed ≈ 4.63% of males
Tritanomaly #0083c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-406fef {
  color: #406fef;
}
Background
.bg-406fef {
  background-color: #406fef;
  color: #000000;
}
Border
.border-406fef {
  border: 2px solid #406fef;
}
CSS variables
:root {
  --color-primary: #406fef;
  --color-primary-rgb: 64 111 239;
  --color-primary-hsl: 224 85% 59%;
}
Gradient
.gradient-406fef {
  background: linear-gradient(135deg, #406fef, #6940ef);
}
Colored shadow
.shadow-406fef {
  box-shadow: 0 8px 24px rgb(64 111 239 / 0.35);
}

Royal Blue
#406fef  rgb(64, 111, 239)  hsl(224, 85%, 59%)  Royal Blue
#efc040  rgb(239, 192, 64)  hsl(44, 85%, 59%)  Saffron
#ef406f  rgb(239, 64, 111)  hsl(344, 85%, 59%)  Cerise
#6fef40  rgb(111, 239, 64)  hsl(104, 85%, 59%)  Neon Green