#331EA1

#331ea1 ≈ Zaffre

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#331ea1 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 11.76% green and 63.14% blue; printed in CMYK it uses 68.32% cyan, 81.37% magenta, 0% yellow and 36.86% black. Its hue angle is 249.62°, with 68.59% saturation and 37.45% 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 11.41:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.35.

Description generated from the measured properties of this color.

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

Readable text 11.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #373172 ≈ 0.001% of males
Protanopia #003fa5 ≈ 1.01% of males
Deuteranopia #00349f ≈ 1.27% of males
Tritanopia #004660 ≈ 0.0001% of males
Protanomaly #0034a3 ≈ 1.08% of males
Deuteranomaly #002da0 ≈ 4.63% of males
Tritanomaly #003a7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331ea1 {
  color: #331ea1;
}
Background
.bg-331ea1 {
  background-color: #331ea1;
  color: #ffffff;
}
Border
.border-331ea1 {
  border: 2px solid #331ea1;
}
CSS variables
:root {
  --color-primary: #331ea1;
  --color-primary-rgb: 51 30 161;
  --color-primary-hsl: 250 69% 37%;
}
Gradient
.gradient-331ea1 {
  background: linear-gradient(135deg, #331ea1, #751ea1);
}
Colored shadow
.shadow-331ea1 {
  box-shadow: 0 8px 24px rgb(51 30 161 / 0.35);
}

Zaffre
#331ea1  rgb(51, 30, 161)  hsl(250, 69%, 37%)  Zaffre
#8ca11e  rgb(140, 161, 30)  hsl(70, 69%, 37%)  Apple Green
#a1331e  rgb(161, 51, 30)  hsl(10, 69%, 37%)  Rufous
#1ea133  rgb(30, 161, 51)  hsl(130, 69%, 37%)  Islamic Green