#3940AC

#3940ac ≈ Persian Blue

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

#3940ac is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 22.35% red, 25.1% green and 67.45% blue; printed in CMYK it uses 66.86% cyan, 62.79% magenta, 0% yellow and 32.55% black. Its hue angle is 236.35°, with 50.22% saturation and 44.9% 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 8.39:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.35.

Description generated from the measured properties of this color.

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

Readable text 8.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #46487e ≈ 0.001% of males
Protanopia #0053af ≈ 1.01% of males
Deuteranopia #0048aa ≈ 1.27% of males
Tritanopia #005b70 ≈ 0.0001% of males
Protanomaly #064cae ≈ 1.08% of males
Deuteranomaly #0045ab ≈ 4.63% of males
Tritanomaly #02528c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3940ac {
  color: #3940ac;
}
Background
.bg-3940ac {
  background-color: #3940ac;
  color: #ffffff;
}
Border
.border-3940ac {
  border: 2px solid #3940ac;
}
CSS variables
:root {
  --color-primary: #3940ac;
  --color-primary-rgb: 57 64 172;
  --color-primary-hsl: 236 50% 45%;
}
Gradient
.gradient-3940ac {
  background: linear-gradient(135deg, #3940ac, #6b39ac);
}
Colored shadow
.shadow-3940ac {
  box-shadow: 0 8px 24px rgb(57 64 172 / 0.35);
}

Persian Blue
#3940ac  rgb(57, 64, 172)  hsl(236, 50%, 45%)  Persian Blue
#aca539  rgb(172, 165, 57)  hsl(56, 50%, 45%)  Brass
#ac3940  rgb(172, 57, 64)  hsl(356, 50%, 45%)  Cardinal
#40ac39  rgb(64, 172, 57)  hsl(116, 50%, 45%)  Kelly Green