#331DCD

#331dcd ≈ Medium Blue

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

#331dcd 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 80.39% blue; printed in CMYK it uses 75.12% cyan, 85.85% magenta, 0% yellow and 19.61% black. Its hue angle is 247.5°, with 75.21% saturation and 45.88% 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.55:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #331dcd 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.0599

Readable text 9.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #3f3990 ≈ 0.001% of males
Protanopia #004dd2 ≈ 1.01% of males
Deuteranopia #003dca ≈ 1.27% of males
Tritanopia #00597a ≈ 0.0001% of males
Protanomaly #003fd0 ≈ 1.08% of males
Deuteranomaly #0033cb ≈ 4.63% of males
Tritanomaly #0048a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#331dcd  rgb(51, 29, 205)  hsl(248, 75%, 46%)  Medium Blue
#b7cd1d  rgb(183, 205, 29)  hsl(68, 75%, 46%)  Pear
#cd331d  rgb(205, 51, 29)  hsl(8, 75%, 46%)  Rosso Corsa
#1dcd33  rgb(29, 205, 51)  hsl(128, 75%, 46%)  Lime Green