#334EEA

#334eea ≈ Iris

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

#334eea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 30.59% green and 91.76% blue; printed in CMYK it uses 78.21% cyan, 66.67% magenta, 0% yellow and 8.24% black. Its hue angle is 231.15°, with 81.33% saturation and 55.88% 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.14:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 4.91.

Description generated from the measured properties of this color.

Conversions of #334eea 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.1209

Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #535aaa ≈ 0.001% of males
Protanopia #006aef ≈ 1.01% of males
Deuteranopia #0059e7 ≈ 1.27% of males
Tritanopia #007996 ≈ 0.0001% of males
Protanomaly #0060ed ≈ 1.08% of males
Deuteranomaly #0055e8 ≈ 4.63% of males
Tritanomaly #006abd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-334eea {
  color: #334eea;
}
Background
.bg-334eea {
  background-color: #334eea;
  color: #ffffff;
}
Border
.border-334eea {
  border: 2px solid #334eea;
}
CSS variables
:root {
  --color-primary: #334eea;
  --color-primary-rgb: 51 78 234;
  --color-primary-hsl: 231 81% 56%;
}
Gradient
.gradient-334eea {
  background: linear-gradient(135deg, #334eea, #7433ea);
}
Colored shadow
.shadow-334eea {
  box-shadow: 0 8px 24px rgb(51 78 234 / 0.35);
}

Iris
#334eea  rgb(51, 78, 234)  hsl(231, 81%, 56%)  Iris
#eacf33  rgb(234, 207, 51)  hsl(51, 81%, 56%)  Citrine
#ea334e  rgb(234, 51, 78)  hsl(351, 81%, 56%)  Amaranth
#4eea33  rgb(78, 234, 51)  hsl(111, 81%, 56%)  Neon Green