#331DFC

#331dfc ≈ Ultramarine

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

#331dfc 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 98.82% blue; printed in CMYK it uses 79.76% cyan, 88.49% magenta, 0% yellow and 1.18% black. Its hue angle is 245.92°, with 97.38% saturation and 55.1% 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.71:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.79.

Description generated from the measured properties of this color.

Conversions of #331dfc 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.0861

Readable text 7.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4843b1 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #0047f9 ≈ 1.27% of males
Tritanopia #006d96 ≈ 0.0001% of males
Protanomaly #004bff ≈ 1.08% of males
Deuteranomaly #003bfa ≈ 4.63% of males
Tritanomaly #0057c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#331dfc  rgb(51, 29, 252)  hsl(246, 97%, 55%)  Ultramarine
#e6fc1d  rgb(230, 252, 29)  hsl(66, 97%, 55%)  Lemon Lime
#fc331d  rgb(252, 51, 29)  hsl(6, 97%, 55%)  Scarlet
#1dfc33  rgb(29, 252, 51)  hsl(126, 97%, 55%)  Lime