#331FB2

#331fb2 ≈ Zaffre

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

#331fb2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 69.8% blue; printed in CMYK it uses 71.35% cyan, 82.58% magenta, 0% yellow and 30.2% black. Its hue angle is 248.16°, with 70.33% saturation and 40.98% 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 10.61:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.88.

Description generated from the measured properties of this color.

Conversions of #331fb2 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.049

Readable text 10.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #3a347e ≈ 0.001% of males
Protanopia #0045b6 ≈ 1.01% of males
Deuteranopia #0038b0 ≈ 1.27% of males
Tritanopia #004e6a ≈ 0.0001% of males
Protanomaly #0039b4 ≈ 1.08% of males
Deuteranomaly #0030b1 ≈ 4.63% of males
Tritanomaly #00408d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331fb2 {
  color: #331fb2;
}
Background
.bg-331fb2 {
  background-color: #331fb2;
  color: #ffffff;
}
Border
.border-331fb2 {
  border: 2px solid #331fb2;
}
CSS variables
:root {
  --color-primary: #331fb2;
  --color-primary-rgb: 51 31 178;
  --color-primary-hsl: 248 70% 41%;
}
Gradient
.gradient-331fb2 {
  background: linear-gradient(135deg, #331fb2, #7c1fb2);
}
Colored shadow
.shadow-331fb2 {
  box-shadow: 0 8px 24px rgb(51 31 178 / 0.35);
}

Zaffre
#331fb2  rgb(51, 31, 178)  hsl(248, 70%, 41%)  Zaffre
#9eb21f  rgb(158, 178, 31)  hsl(68, 70%, 41%)  Apple Green
#b2331f  rgb(178, 51, 31)  hsl(8, 70%, 41%)  Cornell Red
#1fb233  rgb(31, 178, 51)  hsl(128, 70%, 41%)  Kelly Green