#331FF4

#331ff4 ≈ Ultramarine

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

#331ff4 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 95.69% blue; printed in CMYK it uses 79.1% cyan, 87.3% magenta, 0% yellow and 4.31% black. Its hue angle is 245.63°, with 90.64% saturation and 53.92% 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 7.95:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.11.

Description generated from the measured properties of this color.

Conversions of #331ff4 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.0822

Readable text 7.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4742ac ≈ 0.001% of males
Protanopia #005bf9 ≈ 1.01% of males
Deuteranopia #0046f1 ≈ 1.27% of males
Tritanopia #006a91 ≈ 0.0001% of males
Protanomaly #004af7 ≈ 1.08% of males
Deuteranomaly #003af2 ≈ 4.63% of males
Tritanomaly #0055c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331ff4  rgb(51, 31, 244)  hsl(246, 91%, 54%)  Ultramarine
#e0f41f  rgb(224, 244, 31)  hsl(66, 91%, 54%)  Lemon Lime
#f4331f  rgb(244, 51, 31)  hsl(6, 91%, 54%)  Candy Apple Red
#1ff433  rgb(31, 244, 51)  hsl(126, 91%, 54%)  Lime