#331EF9

#331ef9 ≈ Ultramarine

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

#331ef9 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 97.65% blue; printed in CMYK it uses 79.52% cyan, 87.95% magenta, 0% yellow and 2.35% black. Its hue angle is 245.75°, with 94.81% saturation and 54.71% 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.79:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.89.

Description generated from the measured properties of this color.

Conversions of #331ef9 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.0847

Readable text 7.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4843af ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #0047f6 ≈ 1.27% of males
Tritanopia #006c94 ≈ 0.0001% of males
Protanomaly #004bfc ≈ 1.08% of males
Deuteranomaly #003af7 ≈ 4.63% of males
Tritanomaly #0057c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331ef9  rgb(51, 30, 249)  hsl(246, 95%, 55%)  Ultramarine
#e4f91e  rgb(228, 249, 30)  hsl(66, 95%, 55%)  Lemon Lime
#f9331e  rgb(249, 51, 30)  hsl(6, 95%, 55%)  Candy Apple Red
#1ef933  rgb(30, 249, 51)  hsl(126, 95%, 55%)  Lime