#331EF6

#331ef6 ≈ Ultramarine

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

#331ef6 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 11.76% green and 96.47% blue; printed in CMYK it uses 79.27% cyan, 87.8% magenta, 0% yellow and 3.53% black. Its hue angle is 245.83°, with 92.31% 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.9:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #331ef6 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.0829

Readable text 7.9: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 #4742ad ≈ 0.001% of males
Protanopia #005bfb ≈ 1.01% of males
Deuteranopia #0046f3 ≈ 1.27% of males
Tritanopia #006a92 ≈ 0.0001% of males
Protanomaly #004af9 ≈ 1.08% of males
Deuteranomaly #003af4 ≈ 4.63% of males
Tritanomaly #0056c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331ef6  rgb(51, 30, 246)  hsl(246, 92%, 54%)  Ultramarine
#e1f61e  rgb(225, 246, 30)  hsl(66, 92%, 54%)  Lemon Lime
#f6331e  rgb(246, 51, 30)  hsl(6, 92%, 54%)  Candy Apple Red
#1ef633  rgb(30, 246, 51)  hsl(126, 92%, 54%)  Lime