#331DC2

#331dc2 ≈ Medium Blue

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

#331dc2 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 76.08% blue; printed in CMYK it uses 73.71% cyan, 85.05% magenta, 0% yellow and 23.92% black. Its hue angle is 248°, with 73.99% saturation and 43.73% 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 10.02:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.42.

Description generated from the measured properties of this color.

Conversions of #331dc2 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.0548

Readable text 10.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #3d3789 ≈ 0.001% of males
Protanopia #0049c6 ≈ 1.01% of males
Deuteranopia #003bbf ≈ 1.27% of males
Tritanopia #005473 ≈ 0.0001% of males
Protanomaly #003cc5 ≈ 1.08% of males
Deuteranomaly #0031c0 ≈ 4.63% of males
Tritanomaly #004499 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331dc2 {
  color: #331dc2;
}
Background
.bg-331dc2 {
  background-color: #331dc2;
  color: #ffffff;
}
Border
.border-331dc2 {
  border: 2px solid #331dc2;
}
CSS variables
:root {
  --color-primary: #331dc2;
  --color-primary-rgb: 51 29 194;
  --color-primary-hsl: 248 74% 44%;
}
Gradient
.gradient-331dc2 {
  background: linear-gradient(135deg, #331dc2, #861dc2);
}
Colored shadow
.shadow-331dc2 {
  box-shadow: 0 8px 24px rgb(51 29 194 / 0.35);
}

Medium Blue
#331dc2  rgb(51, 29, 194)  hsl(248, 74%, 44%)  Medium Blue
#acc21d  rgb(172, 194, 29)  hsl(68, 74%, 44%)  Apple Green
#c2331d  rgb(194, 51, 29)  hsl(8, 74%, 44%)  Venetian Red
#1dc233  rgb(29, 194, 51)  hsl(128, 74%, 44%)  Lime Green