#331CF8

#331cf8 ≈ Ultramarine

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

#331cf8 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 10.98% green and 97.25% blue; printed in CMYK it uses 79.44% cyan, 88.71% magenta, 0% yellow and 2.75% black. Its hue angle is 246.27°, with 94.02% saturation and 54.12% 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.89:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.74.

Description generated from the measured properties of this color.

Conversions of #331cf8 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.0831

Readable text 7.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4742ae ≈ 0.001% of males
Protanopia #005cfe ≈ 1.01% of males
Deuteranopia #0046f5 ≈ 1.27% of males
Tritanopia #006b93 ≈ 0.0001% of males
Protanomaly #004afb ≈ 1.08% of males
Deuteranomaly #0039f6 ≈ 4.63% of males
Tritanomaly #0056c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331cf8 {
  color: #331cf8;
}
Background
.bg-331cf8 {
  background-color: #331cf8;
  color: #ffffff;
}
Border
.border-331cf8 {
  border: 2px solid #331cf8;
}
CSS variables
:root {
  --color-primary: #331cf8;
  --color-primary-rgb: 51 28 248;
  --color-primary-hsl: 246 94% 54%;
}
Gradient
.gradient-331cf8 {
  background: linear-gradient(135deg, #331cf8, #a11cf8);
}
Colored shadow
.shadow-331cf8 {
  box-shadow: 0 8px 24px rgb(51 28 248 / 0.35);
}

Ultramarine
#331cf8  rgb(51, 28, 248)  hsl(246, 94%, 54%)  Ultramarine
#e1f81c  rgb(225, 248, 28)  hsl(66, 94%, 54%)  Lemon Lime
#f8331c  rgb(248, 51, 28)  hsl(6, 94%, 54%)  Scarlet
#1cf833  rgb(28, 248, 51)  hsl(126, 94%, 54%)  Lime