#2F40EA

#2f40ea ≈ Iris

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

#2f40ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 25.1% green and 91.76% blue; printed in CMYK it uses 79.91% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 234.55°, with 81.66% 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.9:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.85.

Description generated from the measured properties of this color.

Conversions of #2f40ea 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.1021

Readable text 6.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #4c51a8 ≈ 0.001% of males
Protanopia #0063ef ≈ 1.01% of males
Deuteranopia #0051e7 ≈ 1.27% of males
Tritanopia #007292 ≈ 0.0001% of males
Protanomaly #0057ed ≈ 1.08% of males
Deuteranomaly #004ae8 ≈ 4.63% of males
Tritanomaly #0061bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Iris
#2f40ea  rgb(47, 64, 234)  hsl(235, 82%, 55%)  Iris
#ead92f  rgb(234, 217, 47)  hsl(55, 82%, 55%)  Dandelion
#ea2f40  rgb(234, 47, 64)  hsl(355, 82%, 55%)  Tractor Red
#40ea2f  rgb(64, 234, 47)  hsl(115, 82%, 55%)  Neon Green