#331FA7

#331fa7 ≈ Zaffre

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

#331fa7 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 65.49% blue; printed in CMYK it uses 69.46% cyan, 81.44% magenta, 0% yellow and 34.51% black. Its hue angle is 248.82°, with 68.69% saturation and 38.82% 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.08:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #331fa7 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.0447

Readable text 11.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #383276 ≈ 0.001% of males
Protanopia #0041ab ≈ 1.01% of males
Deuteranopia #0036a5 ≈ 1.27% of males
Tritanopia #004964 ≈ 0.0001% of males
Protanomaly #0036a9 ≈ 1.08% of males
Deuteranomaly #002ea6 ≈ 4.63% of males
Tritanomaly #003c84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331fa7 {
  color: #331fa7;
}
Background
.bg-331fa7 {
  background-color: #331fa7;
  color: #ffffff;
}
Border
.border-331fa7 {
  border: 2px solid #331fa7;
}
CSS variables
:root {
  --color-primary: #331fa7;
  --color-primary-rgb: 51 31 167;
  --color-primary-hsl: 249 69% 39%;
}
Gradient
.gradient-331fa7 {
  background: linear-gradient(135deg, #331fa7, #771fa7);
}
Colored shadow
.shadow-331fa7 {
  box-shadow: 0 8px 24px rgb(51 31 167 / 0.35);
}

Zaffre
#331fa7  rgb(51, 31, 167)  hsl(249, 69%, 39%)  Zaffre
#93a71f  rgb(147, 167, 31)  hsl(69, 69%, 39%)  Apple Green
#a7331f  rgb(167, 51, 31)  hsl(9, 69%, 39%)  Rufous
#1fa733  rgb(31, 167, 51)  hsl(129, 69%, 39%)  Kelly Green