#331FFC

#331ffc ≈ Ultramarine

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

#331ffc 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.82% blue; printed in CMYK it uses 79.76% cyan, 87.7% magenta, 0% yellow and 1.18% black. Its hue angle is 245.43°, with 97.36% saturation and 55.49% 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.66:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.99.

Description generated from the measured properties of this color.

Conversions of #331ffc 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.0871

Readable text 7.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4844b1 ≈ 0.001% of males
Protanopia #005eff ≈ 1.01% of males
Deuteranopia #0048f9 ≈ 1.27% of males
Tritanopia #006d96 ≈ 0.0001% of males
Protanomaly #004cff ≈ 1.08% of males
Deuteranomaly #003bfa ≈ 4.63% of males
Tritanomaly #0058c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331ffc  rgb(51, 31, 252)  hsl(245, 97%, 55%)  Ultramarine
#e8fc1f  rgb(232, 252, 31)  hsl(65, 97%, 55%)  Lemon Lime
#fc331f  rgb(252, 51, 31)  hsl(5, 97%, 55%)  Scarlet
#1ffc33  rgb(31, 252, 51)  hsl(125, 97%, 55%)  Lime