#331EC7

#331ec7 ≈ Medium Blue

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

#331ec7 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 78.04% blue; printed in CMYK it uses 74.37% cyan, 84.92% magenta, 0% yellow and 21.96% black. Its hue angle is 247.46°, with 73.8% saturation and 44.9% 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.76:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #331ec7 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.0576

Readable text 9.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #3e388c ≈ 0.001% of males
Protanopia #004bcb ≈ 1.01% of males
Deuteranopia #003cc4 ≈ 1.27% of males
Tritanopia #005676 ≈ 0.0001% of males
Protanomaly #003eca ≈ 1.08% of males
Deuteranomaly #0032c5 ≈ 4.63% of males
Tritanomaly #00469d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331ec7 {
  color: #331ec7;
}
Background
.bg-331ec7 {
  background-color: #331ec7;
  color: #ffffff;
}
Border
.border-331ec7 {
  border: 2px solid #331ec7;
}
CSS variables
:root {
  --color-primary: #331ec7;
  --color-primary-rgb: 51 30 199;
  --color-primary-hsl: 247 74% 45%;
}
Gradient
.gradient-331ec7 {
  background: linear-gradient(135deg, #331ec7, #881ec7);
}
Colored shadow
.shadow-331ec7 {
  box-shadow: 0 8px 24px rgb(51 30 199 / 0.35);
}

Medium Blue
#331ec7  rgb(51, 30, 199)  hsl(247, 74%, 45%)  Medium Blue
#b2c71e  rgb(178, 199, 30)  hsl(67, 74%, 45%)  June Bud
#c7331e  rgb(199, 51, 30)  hsl(7, 74%, 45%)  Rosso Corsa
#1ec733  rgb(30, 199, 51)  hsl(127, 74%, 45%)  Lime Green