#405DB2

#405db2 ≈ Denim

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

#405db2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 36.47% green and 69.8% blue; printed in CMYK it uses 64.04% cyan, 47.75% magenta, 0% yellow and 30.2% black. Its hue angle is 224.74°, with 47.11% saturation and 47.45% 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.13:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.78.

Description generated from the measured properties of this color.

Conversions of #405db2 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.1213

Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #566089 ≈ 0.001% of males
Protanopia #3267b5 ≈ 1.01% of males
Deuteranopia #1c5db0 ≈ 1.27% of males
Tritanopia #00717f ≈ 0.0001% of males
Protanomaly #3863b4 ≈ 1.08% of males
Deuteranomaly #2e5db1 ≈ 4.63% of males
Tritanomaly #136996 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Denim
#405db2  rgb(64, 93, 178)  hsl(225, 47%, 47%)  Denim
#b29540  rgb(178, 149, 64)  hsl(45, 47%, 47%)  Brass
#b2405d  rgb(178, 64, 93)  hsl(345, 47%, 47%)  Dogwood Rose
#5db240  rgb(93, 178, 64)  hsl(105, 47%, 47%)  Kelly Green