#2742EA

#2742ea ≈ Iris

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

#2742ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.29% red, 25.88% green and 91.76% blue; printed in CMYK it uses 83.33% cyan, 71.79% magenta, 0% yellow and 8.24% black. Its hue angle is 231.69°, with 82.28% saturation and 53.53% 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.88:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.92.

Description generated from the measured properties of this color.

Conversions of #2742ea 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.1027

Readable text 6.88: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 #4b52a8 ≈ 0.001% of males
Protanopia #0064ef ≈ 1.01% of males
Deuteranopia #0051e7 ≈ 1.27% of males
Tritanopia #007392 ≈ 0.0001% of males
Protanomaly #0058ed ≈ 1.08% of males
Deuteranomaly #004be8 ≈ 4.63% of males
Tritanomaly #0063bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2742ea {
  color: #2742ea;
}
Background
.bg-2742ea {
  background-color: #2742ea;
  color: #ffffff;
}
Border
.border-2742ea {
  border: 2px solid #2742ea;
}
CSS variables
:root {
  --color-primary: #2742ea;
  --color-primary-rgb: 39 66 234;
  --color-primary-hsl: 232 82% 54%;
}
Gradient
.gradient-2742ea {
  background: linear-gradient(135deg, #2742ea, #6d27ea);
}
Colored shadow
.shadow-2742ea {
  box-shadow: 0 8px 24px rgb(39 66 234 / 0.35);
}

Iris
#2742ea  rgb(39, 66, 234)  hsl(232, 82%, 54%)  Iris
#eacf27  rgb(234, 207, 39)  hsl(52, 82%, 54%)  Citrine
#ea2742  rgb(234, 39, 66)  hsl(352, 82%, 54%)  Amaranth
#42ea27  rgb(66, 234, 39)  hsl(112, 82%, 54%)  Neon Green