#2E40EB

#2e40eb ≈ Iris

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

#2e40eb 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.1% green and 92.16% blue; printed in CMYK it uses 80.43% cyan, 72.77% magenta, 0% yellow and 7.84% black. Its hue angle is 234.29°, with 82.53% 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.89:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.91.

Description generated from the measured properties of this color.

Conversions of #2e40eb 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.1025

Readable text 6.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #4c51a8 ≈ 0.001% of males
Protanopia #0063f0 ≈ 1.01% of males
Deuteranopia #0051e8 ≈ 1.27% of males
Tritanopia #007292 ≈ 0.0001% of males
Protanomaly #0057ee ≈ 1.08% of males
Deuteranomaly #004be9 ≈ 4.63% of males
Tritanomaly #0062bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Iris
#2e40eb  rgb(46, 64, 235)  hsl(234, 83%, 55%)  Iris
#ebd92e  rgb(235, 217, 46)  hsl(54, 83%, 55%)  Dandelion
#eb2e40  rgb(235, 46, 64)  hsl(354, 83%, 55%)  Tractor Red
#40eb2e  rgb(64, 235, 46)  hsl(114, 83%, 55%)  Neon Green