#405FA2

#405fa2 ≈ Denim

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

#405fa2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 37.25% green and 63.53% blue; printed in CMYK it uses 60.49% cyan, 41.36% magenta, 0% yellow and 36.47% black. Its hue angle is 221.02°, with 43.36% saturation and 44.31% 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.22:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.81.

Description generated from the measured properties of this color.

Conversions of #405fa2 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.1188

Readable text 6.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #556080 ≈ 0.001% of males
Protanopia #4266a5 ≈ 1.01% of males
Deuteranopia #345da1 ≈ 1.27% of males
Tritanopia #006e78 ≈ 0.0001% of males
Protanomaly #4163a4 ≈ 1.08% of males
Deuteranomaly #395ea1 ≈ 4.63% of males
Tritanomaly #21688b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-405fa2 {
  color: #405fa2;
}
Background
.bg-405fa2 {
  background-color: #405fa2;
  color: #ffffff;
}
Border
.border-405fa2 {
  border: 2px solid #405fa2;
}
CSS variables
:root {
  --color-primary: #405fa2;
  --color-primary-rgb: 64 95 162;
  --color-primary-hsl: 221 43% 44%;
}
Gradient
.gradient-405fa2 {
  background: linear-gradient(135deg, #405fa2, #5240a2);
}
Colored shadow
.shadow-405fa2 {
  box-shadow: 0 8px 24px rgb(64 95 162 / 0.35);
}

Denim
#405fa2  rgb(64, 95, 162)  hsl(221, 43%, 44%)  Denim
#a28340  rgb(162, 131, 64)  hsl(41, 43%, 44%)  Dark Goldenrod
#a2405f  rgb(162, 64, 95)  hsl(341, 43%, 44%)  Twilight Lavender
#5fa240  rgb(95, 162, 64)  hsl(101, 43%, 44%)  Olive Drab