#331EF7

#331ef7 ≈ Ultramarine

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

#331ef7 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.86% blue; printed in CMYK it uses 79.35% cyan, 87.85% magenta, 0% yellow and 3.14% black. Its hue angle is 245.81°, with 93.13% saturation and 54.31% 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.87:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #331ef7 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.0835

Readable text 7.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4742ae ≈ 0.001% of males
Protanopia #005cfc ≈ 1.01% of males
Deuteranopia #0046f4 ≈ 1.27% of males
Tritanopia #006b93 ≈ 0.0001% of males
Protanomaly #004afa ≈ 1.08% of males
Deuteranomaly #003af5 ≈ 4.63% of males
Tritanomaly #0056c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331ef7  rgb(51, 30, 247)  hsl(246, 93%, 54%)  Ultramarine
#e2f71e  rgb(226, 247, 30)  hsl(66, 93%, 54%)  Lemon Lime
#f7331e  rgb(247, 51, 30)  hsl(6, 93%, 54%)  Candy Apple Red
#1ef733  rgb(30, 247, 51)  hsl(126, 93%, 54%)  Lime