#405AF6

#405af6 ≈ Ultramarine Blue

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

#405af6 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 35.29% green and 96.47% blue; printed in CMYK it uses 73.98% cyan, 63.41% magenta, 0% yellow and 3.53% black. Its hue angle is 231.43°, with 91% saturation and 60.78% 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. White text on this color reaches a contrast ratio of 5.24:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.79.

Description generated from the measured properties of this color.

Conversions of #405af6 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.1506

Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5e65b4 ≈ 0.001% of males
Protanopia #0075fb ≈ 1.01% of males
Deuteranopia #0064f3 ≈ 1.27% of males
Tritanopia #0083a0 ≈ 0.0001% of males
Protanomaly #006bf9 ≈ 1.08% of males
Deuteranomaly #0060f4 ≈ 4.63% of males
Tritanomaly #0075c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-405af6 {
  color: #405af6;
}
Background
.bg-405af6 {
  background-color: #405af6;
  color: #ffffff;
}
Border
.border-405af6 {
  border: 2px solid #405af6;
}
CSS variables
:root {
  --color-primary: #405af6;
  --color-primary-rgb: 64 90 246;
  --color-primary-hsl: 231 91% 61%;
}
Gradient
.gradient-405af6 {
  background: linear-gradient(135deg, #405af6, #8140f6);
}
Colored shadow
.shadow-405af6 {
  box-shadow: 0 8px 24px rgb(64 90 246 / 0.35);
}

Ultramarine Blue
#405af6  rgb(64, 90, 246)  hsl(231, 91%, 61%)  Ultramarine Blue
#f6dc40  rgb(246, 220, 64)  hsl(51, 91%, 61%)  Banana Yellow
#f6405a  rgb(246, 64, 90)  hsl(351, 91%, 61%)  Neon Fuchsia
#5af640  rgb(90, 246, 64)  hsl(111, 91%, 61%)  Neon Green