#2E42CF

#2e42cf ≈ Persian Blue

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

#2e42cf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.04% red, 25.88% green and 81.18% blue; printed in CMYK it uses 77.78% cyan, 68.12% magenta, 0% yellow and 18.82% black. Its hue angle is 232.55°, with 63.64% saturation and 49.61% 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.51:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #2e42cf 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.0898

Readable text 7.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #484e96 ≈ 0.001% of males
Protanopia #005cd3 ≈ 1.01% of males
Deuteranopia #004dcc ≈ 1.27% of males
Tritanopia #006983 ≈ 0.0001% of males
Protanomaly #0053d2 ≈ 1.08% of males
Deuteranomaly #0049cd ≈ 4.63% of males
Tritanomaly #005ca7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e42cf {
  color: #2e42cf;
}
Background
.bg-2e42cf {
  background-color: #2e42cf;
  color: #ffffff;
}
Border
.border-2e42cf {
  border: 2px solid #2e42cf;
}
CSS variables
:root {
  --color-primary: #2e42cf;
  --color-primary-rgb: 46 66 207;
  --color-primary-hsl: 233 64% 50%;
}
Gradient
.gradient-2e42cf {
  background: linear-gradient(135deg, #2e42cf, #6b2ecf);
}
Colored shadow
.shadow-2e42cf {
  box-shadow: 0 8px 24px rgb(46 66 207 / 0.35);
}

Persian Blue
#2e42cf  rgb(46, 66, 207)  hsl(233, 64%, 50%)  Persian Blue
#cfbb2e  rgb(207, 187, 46)  hsl(53, 64%, 50%)  Old Gold
#cf2e42  rgb(207, 46, 66)  hsl(353, 64%, 50%)  Crimson
#42cf2e  rgb(66, 207, 46)  hsl(113, 64%, 50%)  Lime Green