#2D40EC

#2d40ec ≈ Iris

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

#2d40ec 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 92.55% blue; printed in CMYK it uses 80.93% cyan, 72.88% magenta, 0% yellow and 7.45% black. Its hue angle is 234.03°, with 83.41% saturation and 55.1% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.87:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.96.

Description generated from the measured properties of this color.

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

Readable text 6.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #4c51a9 ≈ 0.001% of males
Protanopia #0064f1 ≈ 1.01% of males
Deuteranopia #0051e9 ≈ 1.27% of males
Tritanopia #007293 ≈ 0.0001% of males
Protanomaly #0057ef ≈ 1.08% of males
Deuteranomaly #004bea ≈ 4.63% of males
Tritanomaly #0062bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d40ec {
  color: #2d40ec;
}
Background
.bg-2d40ec {
  background-color: #2d40ec;
  color: #ffffff;
}
Border
.border-2d40ec {
  border: 2px solid #2d40ec;
}
CSS variables
:root {
  --color-primary: #2d40ec;
  --color-primary-rgb: 45 64 236;
  --color-primary-hsl: 234 83% 55%;
}
Gradient
.gradient-2d40ec {
  background: linear-gradient(135deg, #2d40ec, #7a2dec);
}
Colored shadow
.shadow-2d40ec {
  box-shadow: 0 8px 24px rgb(45 64 236 / 0.35);
}

Iris
#2d40ec  rgb(45, 64, 236)  hsl(234, 83%, 55%)  Iris
#ecd92d  rgb(236, 217, 45)  hsl(54, 83%, 55%)  Dandelion
#ec2d40  rgb(236, 45, 64)  hsl(354, 83%, 55%)  Tractor Red
#40ec2d  rgb(64, 236, 45)  hsl(114, 83%, 55%)  Neon Green