#331FFF

#331fff ≈ Ultramarine

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

#331fff 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 100% blue; printed in CMYK it uses 80% cyan, 87.84% magenta, 0% yellow and 0% black. Its hue angle is 245.36°, with 100% saturation and 56.08% 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.55:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.07.

Description generated from the measured properties of this color.

Conversions of #331fff 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.089

Readable text 7.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #4945b3 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #0049fc ≈ 1.27% of males
Tritanopia #006f98 ≈ 0.0001% of males
Protanomaly #004dff ≈ 1.08% of males
Deuteranomaly #003cfd ≈ 4.63% of males
Tritanomaly #0059ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331fff  rgb(51, 31, 255)  hsl(245, 100%, 56%)  Ultramarine
#ebff1f  rgb(235, 255, 31)  hsl(65, 100%, 56%)  Lemon Lime
#ff331f  rgb(255, 51, 31)  hsl(5, 100%, 56%)  Scarlet
#1fff33  rgb(31, 255, 51)  hsl(125, 100%, 56%)  Lime