#331CEC

#331cec ≈ Blue

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

#331cec 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 92.55% blue; printed in CMYK it uses 78.39% cyan, 88.14% magenta, 0% yellow and 7.45% black. Its hue angle is 246.63°, with 84.55% saturation and 51.76% 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.34:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.36.

Description generated from the measured properties of this color.

Conversions of #331cec 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.0759

Readable text 8.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #453fa6 ≈ 0.001% of males
Protanopia #0057f1 ≈ 1.01% of males
Deuteranopia #0043e9 ≈ 1.27% of males
Tritanopia #00668c ≈ 0.0001% of males
Protanomaly #0047ef ≈ 1.08% of males
Deuteranomaly #0037ea ≈ 4.63% of males
Tritanomaly #0052ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#331cec  rgb(51, 28, 236)  hsl(247, 85%, 52%)  Blue
#d5ec1c  rgb(213, 236, 28)  hsl(67, 85%, 52%)  Pear
#ec331c  rgb(236, 51, 28)  hsl(7, 85%, 52%)  Red
#1cec33  rgb(28, 236, 51)  hsl(127, 85%, 52%)  Lime