#405AAA

#405aaa ≈ Sapphire

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#405aaa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 35.29% green and 66.67% blue; printed in CMYK it uses 62.35% cyan, 47.06% magenta, 0% yellow and 33.33% black. Its hue angle is 225.28°, with 45.3% saturation and 45.88% 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 brand accents. White text on this color reaches a contrast ratio of 6.44:1 (WCAG AA). The closest named color is Sapphire (#0f52ba), ΔE 4.65.

Description generated from the measured properties of this color.

Conversions of #405aaa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.113

Readable text 6.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #545d83 ≈ 0.001% of males
Protanopia #3364ad ≈ 1.01% of males
Deuteranopia #215aa8 ≈ 1.27% of males
Tritanopia #006c7a ≈ 0.0001% of males
Protanomaly #3960ac ≈ 1.08% of males
Deuteranomaly #305aa9 ≈ 4.63% of males
Tritanomaly #1c658f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-405aaa {
  color: #405aaa;
}
Background
.bg-405aaa {
  background-color: #405aaa;
  color: #ffffff;
}
Border
.border-405aaa {
  border: 2px solid #405aaa;
}
CSS variables
:root {
  --color-primary: #405aaa;
  --color-primary-rgb: 64 90 170;
  --color-primary-hsl: 225 45% 46%;
}
Gradient
.gradient-405aaa {
  background: linear-gradient(135deg, #405aaa, #5b40aa);
}
Colored shadow
.shadow-405aaa {
  box-shadow: 0 8px 24px rgb(64 90 170 / 0.35);
}

Sapphire
#405aaa  rgb(64, 90, 170)  hsl(225, 45%, 46%)  Sapphire
#aa9040  rgb(170, 144, 64)  hsl(45, 45%, 46%)  Brass
#aa405a  rgb(170, 64, 90)  hsl(345, 45%, 46%)  Cordovan
#5aaa40  rgb(90, 170, 64)  hsl(105, 45%, 46%)  Kelly Green