#331EC4

#331ec4 ≈ Medium Blue

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

#331ec4 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.86% blue; printed in CMYK it uses 73.98% cyan, 84.69% magenta, 0% yellow and 23.14% black. Its hue angle is 247.59°, with 73.45% saturation and 44.31% 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.89: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 #331ec4 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.0562

Readable text 9.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3d388a ≈ 0.001% of males
Protanopia #004ac8 ≈ 1.01% of males
Deuteranopia #003bc1 ≈ 1.27% of males
Tritanopia #005575 ≈ 0.0001% of males
Protanomaly #003dc7 ≈ 1.08% of males
Deuteranomaly #0032c2 ≈ 4.63% of males
Tritanomaly #00459b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#331ec4  rgb(51, 30, 196)  hsl(248, 73%, 44%)  Medium Blue
#afc41e  rgb(175, 196, 30)  hsl(68, 73%, 44%)  Yellow Green
#c4331e  rgb(196, 51, 30)  hsl(8, 73%, 44%)  Venetian Red
#1ec433  rgb(30, 196, 51)  hsl(128, 73%, 44%)  Lime Green