#2840EA

#2840ea ≈ Iris

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2840ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.69% red, 25.1% green and 91.76% blue; printed in CMYK it uses 82.91% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 232.58°, with 82.2% saturation and 53.73% 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.97:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.11.

Description generated from the measured properties of this color.

Conversions of #2840ea 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.1006

Readable text 6.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #4a50a8 ≈ 0.001% of males
Protanopia #0063ef ≈ 1.01% of males
Deuteranopia #0050e7 ≈ 1.27% of males
Tritanopia #007292 ≈ 0.0001% of males
Protanomaly #0057ed ≈ 1.08% of males
Deuteranomaly #004ae8 ≈ 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-2840ea {
  color: #2840ea;
}
Background
.bg-2840ea {
  background-color: #2840ea;
  color: #ffffff;
}
Border
.border-2840ea {
  border: 2px solid #2840ea;
}
CSS variables
:root {
  --color-primary: #2840ea;
  --color-primary-rgb: 40 64 234;
  --color-primary-hsl: 233 82% 54%;
}
Gradient
.gradient-2840ea {
  background: linear-gradient(135deg, #2840ea, #7128ea);
}
Colored shadow
.shadow-2840ea {
  box-shadow: 0 8px 24px rgb(40 64 234 / 0.35);
}

Iris
#2840ea  rgb(40, 64, 234)  hsl(233, 82%, 54%)  Iris
#ead228  rgb(234, 210, 40)  hsl(53, 82%, 54%)  Citrine
#ea2840  rgb(234, 40, 64)  hsl(353, 82%, 54%)  Tractor Red
#40ea28  rgb(64, 234, 40)  hsl(113, 82%, 54%)  Neon Green