#2D40CA

#2d40ca ≈ Persian Blue

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

#2d40ca is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 25.1% green and 79.22% blue; printed in CMYK it uses 77.72% cyan, 68.32% magenta, 0% yellow and 20.78% black. Its hue angle is 232.74°, with 63.56% saturation and 48.43% 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.78:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.07.

Description generated from the measured properties of this color.

Conversions of #2d40ca 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.0849

Readable text 7.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #464c92 ≈ 0.001% of males
Protanopia #005ace ≈ 1.01% of males
Deuteranopia #004bc7 ≈ 1.27% of males
Tritanopia #006680 ≈ 0.0001% of males
Protanomaly #0051cd ≈ 1.08% of males
Deuteranomaly #0047c8 ≈ 4.63% of males
Tritanomaly #0059a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d40ca {
  color: #2d40ca;
}
Background
.bg-2d40ca {
  background-color: #2d40ca;
  color: #ffffff;
}
Border
.border-2d40ca {
  border: 2px solid #2d40ca;
}
CSS variables
:root {
  --color-primary: #2d40ca;
  --color-primary-rgb: 45 64 202;
  --color-primary-hsl: 233 64% 48%;
}
Gradient
.gradient-2d40ca {
  background: linear-gradient(135deg, #2d40ca, #692dca);
}
Colored shadow
.shadow-2d40ca {
  box-shadow: 0 8px 24px rgb(45 64 202 / 0.35);
}

Persian Blue
#2d40ca  rgb(45, 64, 202)  hsl(233, 64%, 48%)  Persian Blue
#cab72d  rgb(202, 183, 45)  hsl(53, 64%, 48%)  Old Gold
#ca2d40  rgb(202, 45, 64)  hsl(353, 64%, 48%)  Cardinal
#40ca2d  rgb(64, 202, 45)  hsl(113, 64%, 48%)  Lime Green