#406AFA

#406afa ≈ Ultramarine Blue

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

#406afa is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 41.57% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 57.6% magenta, 0% yellow and 1.96% black. Its hue angle is 226.45°, with 94.9% saturation and 61.57% 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.66:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 1.5.

Description generated from the measured properties of this color.

Conversions of #406afa 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.183

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #6572ba ≈ 0.001% of males
Protanopia #0080ff ≈ 1.01% of males
Deuteranopia #006ef7 ≈ 1.27% of males
Tritanopia #008ea8 ≈ 0.0001% of males
Protanomaly #0077fd ≈ 1.08% of males
Deuteranomaly #006df8 ≈ 4.63% of males
Tritanomaly #0081ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-406afa {
  color: #406afa;
}
Background
.bg-406afa {
  background-color: #406afa;
  color: #000000;
}
Border
.border-406afa {
  border: 2px solid #406afa;
}
CSS variables
:root {
  --color-primary: #406afa;
  --color-primary-rgb: 64 106 250;
  --color-primary-hsl: 226 95% 62%;
}
Gradient
.gradient-406afa {
  background: linear-gradient(135deg, #406afa, #7340fa);
}
Colored shadow
.shadow-406afa {
  box-shadow: 0 8px 24px rgb(64 106 250 / 0.35);
}

Ultramarine Blue
#406afa  rgb(64, 106, 250)  hsl(226, 95%, 62%)  Ultramarine Blue
#fad040  rgb(250, 208, 64)  hsl(46, 95%, 62%)  Sunglow
#fa406a  rgb(250, 64, 106)  hsl(346, 95%, 62%)  Neon Fuchsia
#6afa40  rgb(106, 250, 64)  hsl(106, 95%, 62%)  Neon Green