#331FFA

#331ffa ≈ Ultramarine

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

#331ffa 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 98.04% blue; printed in CMYK it uses 79.6% cyan, 87.6% magenta, 0% yellow and 1.96% black. Its hue angle is 245.48°, with 95.63% saturation and 55.1% 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.73:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.97.

Description generated from the measured properties of this color.

Conversions of #331ffa 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.0859

Readable text 7.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4844b0 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #0047f7 ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #004bfd ≈ 1.08% of males
Deuteranomaly #003bf8 ≈ 4.63% of males
Tritanomaly #0057c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331ffa {
  color: #331ffa;
}
Background
.bg-331ffa {
  background-color: #331ffa;
  color: #ffffff;
}
Border
.border-331ffa {
  border: 2px solid #331ffa;
}
CSS variables
:root {
  --color-primary: #331ffa;
  --color-primary-rgb: 51 31 250;
  --color-primary-hsl: 245 96% 55%;
}
Gradient
.gradient-331ffa {
  background: linear-gradient(135deg, #331ffa, #a11ffa);
}
Colored shadow
.shadow-331ffa {
  box-shadow: 0 8px 24px rgb(51 31 250 / 0.35);
}

Ultramarine
#331ffa  rgb(51, 31, 250)  hsl(245, 96%, 55%)  Ultramarine
#e6fa1f  rgb(230, 250, 31)  hsl(65, 96%, 55%)  Lemon Lime
#fa331f  rgb(250, 51, 31)  hsl(5, 96%, 55%)  Candy Apple Red
#1ffa33  rgb(31, 250, 51)  hsl(125, 96%, 55%)  Lime