#331DEF

#331def ≈ Ultramarine

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

#331def is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 11.37% green and 93.73% blue; printed in CMYK it uses 78.66% cyan, 87.87% magenta, 0% yellow and 6.27% black. Its hue angle is 246.29°, with 86.78% saturation and 52.55% 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 8.19:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.3.

Description generated from the measured properties of this color.

Conversions of #331def 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.0781

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4540a8 ≈ 0.001% of males
Protanopia #0059f4 ≈ 1.01% of males
Deuteranopia #0044ec ≈ 1.27% of males
Tritanopia #00678e ≈ 0.0001% of males
Protanomaly #0048f2 ≈ 1.08% of males
Deuteranomaly #0038ed ≈ 4.63% of males
Tritanomaly #0053bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331def  rgb(51, 29, 239)  hsl(246, 87%, 53%)  Ultramarine
#d9ef1d  rgb(217, 239, 29)  hsl(66, 87%, 53%)  Pear
#ef331d  rgb(239, 51, 29)  hsl(6, 87%, 53%)  Red
#1def33  rgb(29, 239, 51)  hsl(126, 87%, 53%)  Lime