#402CC2

#402cc2 ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#402cc2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 17.25% green and 76.08% blue; printed in CMYK it uses 67.01% cyan, 77.32% magenta, 0% yellow and 23.92% black. Its hue angle is 248°, with 63.03% saturation and 46.67% 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.91:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #402cc2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0679

Readable text 8.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #46408b ≈ 0.001% of males
Protanopia #004fc6 ≈ 1.01% of males
Deuteranopia #0043bf ≈ 1.27% of males
Tritanopia #005976 ≈ 0.0001% of males
Protanomaly #0044c5 ≈ 1.08% of males
Deuteranomaly #003bc0 ≈ 4.63% of males
Tritanomaly #004b9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-402cc2 {
  color: #402cc2;
}
Background
.bg-402cc2 {
  background-color: #402cc2;
  color: #ffffff;
}
Border
.border-402cc2 {
  border: 2px solid #402cc2;
}
CSS variables
:root {
  --color-primary: #402cc2;
  --color-primary-rgb: 64 44 194;
  --color-primary-hsl: 248 63% 47%;
}
Gradient
.gradient-402cc2 {
  background: linear-gradient(135deg, #402cc2, #8b2cc2);
}
Colored shadow
.shadow-402cc2 {
  box-shadow: 0 8px 24px rgb(64 44 194 / 0.35);
}

Persian Blue
#402cc2  rgb(64, 44, 194)  hsl(248, 63%, 47%)  Persian Blue
#aec22c  rgb(174, 194, 44)  hsl(68, 63%, 47%)  Apple Green
#c2402c  rgb(194, 64, 44)  hsl(8, 63%, 47%)  Persian Red
#2cc240  rgb(44, 194, 64)  hsl(128, 63%, 47%)  Lime Green