#331FFB

#331ffb ≈ Ultramarine

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

#331ffb 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.43% blue; printed in CMYK it uses 79.68% cyan, 87.65% magenta, 0% yellow and 1.57% black. Its hue angle is 245.45°, with 96.49% saturation and 55.29% 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.69:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.98.

Description generated from the measured properties of this color.

Conversions of #331ffb 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.0865

Readable text 7.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4844b1 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #0048f8 ≈ 1.27% of males
Tritanopia #006d96 ≈ 0.0001% of males
Protanomaly #004cfe ≈ 1.08% of males
Deuteranomaly #003bf9 ≈ 4.63% of males
Tritanomaly #0058c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331ffb  rgb(51, 31, 251)  hsl(245, 96%, 55%)  Ultramarine
#e7fb1f  rgb(231, 251, 31)  hsl(65, 96%, 55%)  Lemon Lime
#fb331f  rgb(251, 51, 31)  hsl(5, 96%, 55%)  Scarlet
#1ffb33  rgb(31, 251, 51)  hsl(125, 96%, 55%)  Lime