#331DD2

#331dd2 ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#331dd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.37% green and 82.35% blue; printed in CMYK it uses 75.71% cyan, 86.19% magenta, 0% yellow and 17.65% black. Its hue angle is 247.29°, with 75.73% saturation and 46.86% 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 brand accents. White text on this color reaches a contrast ratio of 9.35:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #331dd2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0624

Readable text 9.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #403a94 ≈ 0.001% of males
Protanopia #004fd7 ≈ 1.01% of males
Deuteranopia #003ecf ≈ 1.27% of males
Tritanopia #005b7d ≈ 0.0001% of males
Protanomaly #0040d5 ≈ 1.08% of males
Deuteranomaly #0034d0 ≈ 4.63% of males
Tritanomaly #0049a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331dd2 {
  color: #331dd2;
}
Background
.bg-331dd2 {
  background-color: #331dd2;
  color: #ffffff;
}
Border
.border-331dd2 {
  border: 2px solid #331dd2;
}
CSS variables
:root {
  --color-primary: #331dd2;
  --color-primary-rgb: 51 29 210;
  --color-primary-hsl: 247 76% 47%;
}
Gradient
.gradient-331dd2 {
  background: linear-gradient(135deg, #331dd2, #8d1dd2);
}
Colored shadow
.shadow-331dd2 {
  box-shadow: 0 8px 24px rgb(51 29 210 / 0.35);
}

Medium Blue
#331dd2  rgb(51, 29, 210)  hsl(247, 76%, 47%)  Medium Blue
#bcd21d  rgb(188, 210, 29)  hsl(67, 76%, 47%)  Pear
#d2331d  rgb(210, 51, 29)  hsl(7, 76%, 47%)  Rosso Corsa
#1dd233  rgb(29, 210, 51)  hsl(127, 76%, 47%)  Lime Green