#331EF4

#331ef4 ≈ Ultramarine

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

#331ef4 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 11.76% green and 95.69% blue; printed in CMYK it uses 79.1% cyan, 87.7% magenta, 0% yellow and 4.31% black. Its hue angle is 245.89°, with 90.68% saturation and 53.73% 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.98:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.04.

Description generated from the measured properties of this color.

Conversions of #331ef4 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.0816

Readable text 7.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63: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 #0049f7 ≈ 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-331ef4 {
  color: #331ef4;
}
Background
.bg-331ef4 {
  background-color: #331ef4;
  color: #ffffff;
}
Border
.border-331ef4 {
  border: 2px solid #331ef4;
}
CSS variables
:root {
  --color-primary: #331ef4;
  --color-primary-rgb: 51 30 244;
  --color-primary-hsl: 246 91% 54%;
}
Gradient
.gradient-331ef4 {
  background: linear-gradient(135deg, #331ef4, #9e1ef4);
}
Colored shadow
.shadow-331ef4 {
  box-shadow: 0 8px 24px rgb(51 30 244 / 0.35);
}

Ultramarine
#331ef4  rgb(51, 30, 244)  hsl(246, 91%, 54%)  Ultramarine
#dff41e  rgb(223, 244, 30)  hsl(66, 91%, 54%)  Lemon Lime
#f4331e  rgb(244, 51, 30)  hsl(6, 91%, 54%)  Candy Apple Red
#1ef433  rgb(30, 244, 51)  hsl(126, 91%, 54%)  Lime