#331ECF

#331ecf ≈ Medium Blue

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

#331ecf 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 81.18% blue; printed in CMYK it uses 75.36% cyan, 85.51% magenta, 0% yellow and 18.82% black. Its hue angle is 247.12°, with 74.68% saturation and 46.47% 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.43:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #331ecf 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.0614

Readable text 9.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #3f3a92 ≈ 0.001% of males
Protanopia #004ed4 ≈ 1.01% of males
Deuteranopia #003ecc ≈ 1.27% of males
Tritanopia #005a7b ≈ 0.0001% of males
Protanomaly #0040d2 ≈ 1.08% of males
Deuteranomaly #0034cd ≈ 4.63% of males
Tritanomaly #0049a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#331ecf  rgb(51, 30, 207)  hsl(247, 75%, 46%)  Medium Blue
#bacf1e  rgb(186, 207, 30)  hsl(67, 75%, 46%)  Pear
#cf331e  rgb(207, 51, 30)  hsl(7, 75%, 46%)  Rosso Corsa
#1ecf33  rgb(30, 207, 51)  hsl(127, 75%, 46%)  Lime Green