#2F42EB

#2f42eb ≈ Iris

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

#2f42eb 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.88% green and 92.16% blue; printed in CMYK it uses 80% cyan, 71.91% magenta, 0% yellow and 7.84% black. Its hue angle is 233.94°, with 82.46% saturation and 55.29% 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.77:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.64.

Description generated from the measured properties of this color.

Conversions of #2f42eb 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.105

Readable text 6.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #4d52a9 ≈ 0.001% of males
Protanopia #0064f0 ≈ 1.01% of males
Deuteranopia #0052e8 ≈ 1.27% of males
Tritanopia #007393 ≈ 0.0001% of males
Protanomaly #0059ee ≈ 1.08% of males
Deuteranomaly #004ce9 ≈ 4.63% of males
Tritanomaly #0063bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Iris
#2f42eb  rgb(47, 66, 235)  hsl(234, 82%, 55%)  Iris
#ebd82f  rgb(235, 216, 47)  hsl(54, 82%, 55%)  Citrine
#eb2f42  rgb(235, 47, 66)  hsl(354, 82%, 55%)  Tractor Red
#42eb2f  rgb(66, 235, 47)  hsl(114, 82%, 55%)  Neon Green