#331EFA

#331efa ≈ Ultramarine

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

#331efa 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 98.04% blue; printed in CMYK it uses 79.6% cyan, 88% magenta, 0% yellow and 1.96% black. Its hue angle is 245.73°, with 95.65% saturation and 54.9% 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.76:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.88.

Description generated from the measured properties of this color.

Conversions of #331efa 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.0853

Readable text 7.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4843b0 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #0047f7 ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #004bfd ≈ 1.08% of males
Deuteranomaly #003bf8 ≈ 4.63% of males
Tritanomaly #0057c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331efa  rgb(51, 30, 250)  hsl(246, 96%, 55%)  Ultramarine
#e5fa1e  rgb(229, 250, 30)  hsl(66, 96%, 55%)  Lemon Lime
#fa331e  rgb(250, 51, 30)  hsl(6, 96%, 55%)  Scarlet
#1efa33  rgb(30, 250, 51)  hsl(126, 96%, 55%)  Lime