#331FEA

#331fea ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#331fea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 12.16% green and 91.76% blue; printed in CMYK it uses 78.21% cyan, 86.75% magenta, 0% yellow and 8.24% black. Its hue angle is 245.91°, with 82.86% saturation and 51.96% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 8.32:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.65.

Description generated from the measured properties of this color.

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

Readable text 8.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4540a5 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #0044e7 ≈ 1.27% of males
Tritanopia #00668b ≈ 0.0001% of males
Protanomaly #0047ed ≈ 1.08% of males
Deuteranomaly #0038e8 ≈ 4.63% of males
Tritanomaly #0052b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331fea {
  color: #331fea;
}
Background
.bg-331fea {
  background-color: #331fea;
  color: #ffffff;
}
Border
.border-331fea {
  border: 2px solid #331fea;
}
CSS variables
:root {
  --color-primary: #331fea;
  --color-primary-rgb: 51 31 234;
  --color-primary-hsl: 246 83% 52%;
}
Gradient
.gradient-331fea {
  background: linear-gradient(135deg, #331fea, #981fea);
}
Colored shadow
.shadow-331fea {
  box-shadow: 0 8px 24px rgb(51 31 234 / 0.35);
}

Blue
#331fea  rgb(51, 31, 234)  hsl(246, 83%, 52%)  Blue
#d6ea1f  rgb(214, 234, 31)  hsl(66, 83%, 52%)  Pear
#ea331f  rgb(234, 51, 31)  hsl(6, 83%, 52%)  Lust
#1fea33  rgb(31, 234, 51)  hsl(126, 83%, 52%)  Lime