#331FEF

#331fef ≈ Ultramarine

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

#331fef 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 93.73% blue; printed in CMYK it uses 78.66% cyan, 87.03% magenta, 0% yellow and 6.27% black. Its hue angle is 245.77°, with 86.67% saturation and 52.94% 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.13:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #331fef 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.0792

Readable text 8.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4641a8 ≈ 0.001% of males
Protanopia #0059f4 ≈ 1.01% of males
Deuteranopia #0045ec ≈ 1.27% of males
Tritanopia #00688e ≈ 0.0001% of males
Protanomaly #0048f2 ≈ 1.08% of males
Deuteranomaly #0039ed ≈ 4.63% of males
Tritanomaly #0054bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331fef  rgb(51, 31, 239)  hsl(246, 87%, 53%)  Ultramarine
#dbef1f  rgb(219, 239, 31)  hsl(66, 87%, 53%)  Pear
#ef331f  rgb(239, 51, 31)  hsl(6, 87%, 53%)  Red
#1fef33  rgb(31, 239, 51)  hsl(126, 87%, 53%)  Lime