#2A4DEC

#2a4dec ≈ Iris

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

#2a4dec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 30.2% green and 92.55% blue; printed in CMYK it uses 82.2% cyan, 67.37% magenta, 0% yellow and 7.45% black. Its hue angle is 229.18°, with 83.62% saturation and 54.51% 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.23:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.39.

Description generated from the measured properties of this color.

Conversions of #2a4dec into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1186

Readable text 6.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #5059ab ≈ 0.001% of males
Protanopia #006af1 ≈ 1.01% of males
Deuteranopia #0057e9 ≈ 1.27% of males
Tritanopia #007996 ≈ 0.0001% of males
Protanomaly #0060ef ≈ 1.08% of males
Deuteranomaly #0053ea ≈ 4.63% of males
Tritanomaly #006abf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a4dec {
  color: #2a4dec;
}
Background
.bg-2a4dec {
  background-color: #2a4dec;
  color: #ffffff;
}
Border
.border-2a4dec {
  border: 2px solid #2a4dec;
}
CSS variables
:root {
  --color-primary: #2a4dec;
  --color-primary-rgb: 42 77 236;
  --color-primary-hsl: 229 84% 55%;
}
Gradient
.gradient-2a4dec {
  background: linear-gradient(135deg, #2a4dec, #682aec);
}
Colored shadow
.shadow-2a4dec {
  box-shadow: 0 8px 24px rgb(42 77 236 / 0.35);
}

Iris
#2a4dec  rgb(42, 77, 236)  hsl(229, 84%, 55%)  Iris
#ecc92a  rgb(236, 201, 42)  hsl(49, 84%, 55%)  Jonquil
#ec2a4d  rgb(236, 42, 77)  hsl(349, 84%, 55%)  Amaranth
#4dec2a  rgb(77, 236, 42)  hsl(109, 84%, 55%)  Neon Green