#331DCB

#331dcb ≈ Medium Blue

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

#331dcb 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 79.61% blue; printed in CMYK it uses 74.88% cyan, 85.71% magenta, 0% yellow and 20.39% black. Its hue angle is 247.59°, with 75% saturation and 45.49% 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.64:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #331dcb 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.0589

Readable text 9.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #3e398f ≈ 0.001% of males
Protanopia #004cd0 ≈ 1.01% of males
Deuteranopia #003cc8 ≈ 1.27% of males
Tritanopia #005879 ≈ 0.0001% of males
Protanomaly #003ece ≈ 1.08% of males
Deuteranomaly #0032c9 ≈ 4.63% of males
Tritanomaly #0047a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#331dcb  rgb(51, 29, 203)  hsl(248, 75%, 45%)  Medium Blue
#b5cb1d  rgb(181, 203, 29)  hsl(68, 75%, 45%)  June Bud
#cb331d  rgb(203, 51, 29)  hsl(8, 75%, 45%)  Rosso Corsa
#1dcb33  rgb(29, 203, 51)  hsl(128, 75%, 45%)  Lime Green