#331EC3

#331ec3 ≈ Medium Blue

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

#331ec3 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.76% green and 76.47% blue; printed in CMYK it uses 73.85% cyan, 84.62% magenta, 0% yellow and 23.53% black. Its hue angle is 247.64°, with 73.33% saturation and 44.12% 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 brand accents. White text on this color reaches a contrast ratio of 9.93:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.54.

Description generated from the measured properties of this color.

Conversions of #331ec3 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0557

Readable text 9.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3d3789 ≈ 0.001% of males
Protanopia #004ac7 ≈ 1.01% of males
Deuteranopia #003bc0 ≈ 1.27% of males
Tritanopia #005574 ≈ 0.0001% of males
Protanomaly #003dc6 ≈ 1.08% of males
Deuteranomaly #0032c1 ≈ 4.63% of males
Tritanomaly #00459a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331ec3 {
  color: #331ec3;
}
Background
.bg-331ec3 {
  background-color: #331ec3;
  color: #ffffff;
}
Border
.border-331ec3 {
  border: 2px solid #331ec3;
}
CSS variables
:root {
  --color-primary: #331ec3;
  --color-primary-rgb: 51 30 195;
  --color-primary-hsl: 248 73% 44%;
}
Gradient
.gradient-331ec3 {
  background: linear-gradient(135deg, #331ec3, #861ec3);
}
Colored shadow
.shadow-331ec3 {
  box-shadow: 0 8px 24px rgb(51 30 195 / 0.35);
}

Medium Blue
#331ec3  rgb(51, 30, 195)  hsl(248, 73%, 44%)  Medium Blue
#aec31e  rgb(174, 195, 30)  hsl(68, 73%, 44%)  Apple Green
#c3331e  rgb(195, 51, 30)  hsl(8, 73%, 44%)  Venetian Red
#1ec333  rgb(30, 195, 51)  hsl(128, 73%, 44%)  Lime Green