#2A42CC

#2a42cc ≈ Persian Blue

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

#2a42cc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 25.88% green and 80% blue; printed in CMYK it uses 79.41% cyan, 67.65% magenta, 0% yellow and 20% black. Its hue angle is 231.11°, with 65.85% saturation and 48.24% 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 7.64:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.49.

Description generated from the measured properties of this color.

Conversions of #2a42cc 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.0875

Readable text 7.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #464d94 ≈ 0.001% of males
Protanopia #005bd0 ≈ 1.01% of males
Deuteranopia #004cc9 ≈ 1.27% of males
Tritanopia #006881 ≈ 0.0001% of males
Protanomaly #0052cf ≈ 1.08% of males
Deuteranomaly #0048ca ≈ 4.63% of males
Tritanomaly #005ba5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a42cc {
  color: #2a42cc;
}
Background
.bg-2a42cc {
  background-color: #2a42cc;
  color: #ffffff;
}
Border
.border-2a42cc {
  border: 2px solid #2a42cc;
}
CSS variables
:root {
  --color-primary: #2a42cc;
  --color-primary-rgb: 42 66 204;
  --color-primary-hsl: 231 66% 48%;
}
Gradient
.gradient-2a42cc {
  background: linear-gradient(135deg, #2a42cc, #632acc);
}
Colored shadow
.shadow-2a42cc {
  box-shadow: 0 8px 24px rgb(42 66 204 / 0.35);
}

Persian Blue
#2a42cc  rgb(42, 66, 204)  hsl(231, 66%, 48%)  Persian Blue
#ccb42a  rgb(204, 180, 42)  hsl(51, 66%, 48%)  Old Gold
#cc2a42  rgb(204, 42, 66)  hsl(351, 66%, 48%)  Cardinal
#42cc2a  rgb(66, 204, 42)  hsl(111, 66%, 48%)  Lime Green