#331CEA

#331cea ≈ Blue

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

#331cea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 10.98% green and 91.76% blue; printed in CMYK it uses 78.21% cyan, 88.03% magenta, 0% yellow and 8.24% black. Its hue angle is 246.7°, with 83.06% saturation and 51.37% 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 8.42:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.45.

Description generated from the measured properties of this color.

Conversions of #331cea 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.0747

Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #443fa5 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #0043e7 ≈ 1.27% of males
Tritanopia #00658b ≈ 0.0001% of males
Protanomaly #0046ed ≈ 1.08% of males
Deuteranomaly #0037e8 ≈ 4.63% of males
Tritanomaly #0051b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331cea {
  color: #331cea;
}
Background
.bg-331cea {
  background-color: #331cea;
  color: #ffffff;
}
Border
.border-331cea {
  border: 2px solid #331cea;
}
CSS variables
:root {
  --color-primary: #331cea;
  --color-primary-rgb: 51 28 234;
  --color-primary-hsl: 247 83% 51%;
}
Gradient
.gradient-331cea {
  background: linear-gradient(135deg, #331cea, #9a1cea);
}
Colored shadow
.shadow-331cea {
  box-shadow: 0 8px 24px rgb(51 28 234 / 0.35);
}

Blue
#331cea  rgb(51, 28, 234)  hsl(247, 83%, 51%)  Blue
#d3ea1c  rgb(211, 234, 28)  hsl(67, 83%, 51%)  Pear
#ea331c  rgb(234, 51, 28)  hsl(7, 83%, 51%)  Red
#1cea33  rgb(28, 234, 51)  hsl(127, 83%, 51%)  Lime