#405FA1

#405fa1 ≈ Denim

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

#405fa1 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.14% blue; printed in CMYK it uses 60.25% cyan, 40.99% magenta, 0% yellow and 36.86% black. Its hue angle is 220.82°, with 43.11% saturation and 44.12% 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.23:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #405fa1 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.1185

Readable text 6.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #55607f ≈ 0.001% of males
Protanopia #4265a4 ≈ 1.01% of males
Deuteranopia #355ca0 ≈ 1.27% of males
Tritanopia #006e78 ≈ 0.0001% of males
Protanomaly #4163a3 ≈ 1.08% of males
Deuteranomaly #3a5ea0 ≈ 4.63% of males
Tritanomaly #22688a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Denim
#405fa1  rgb(64, 95, 161)  hsl(221, 43%, 44%)  Denim
#a18240  rgb(161, 130, 64)  hsl(41, 43%, 44%)  Dark Goldenrod
#a1405f  rgb(161, 64, 95)  hsl(341, 43%, 44%)  Twilight Lavender
#5fa140  rgb(95, 161, 64)  hsl(101, 43%, 44%)  Olive Drab