#331CD4

#331cd4 ≈ Medium Blue

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

#331cd4 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 10.98% green and 83.14% blue; printed in CMYK it uses 75.94% cyan, 86.79% magenta, 0% yellow and 16.86% black. Its hue angle is 247.5°, with 76.67% saturation and 47.06% 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.3:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.

Description generated from the measured properties of this color.

Conversions of #331cd4 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.0629

Readable text 9.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #403a95 ≈ 0.001% of males
Protanopia #004fd9 ≈ 1.01% of males
Deuteranopia #003ed1 ≈ 1.27% of males
Tritanopia #005b7e ≈ 0.0001% of males
Protanomaly #0040d7 ≈ 1.08% of males
Deuteranomaly #0033d2 ≈ 4.63% of males
Tritanomaly #004aa7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331cd4 {
  color: #331cd4;
}
Background
.bg-331cd4 {
  background-color: #331cd4;
  color: #ffffff;
}
Border
.border-331cd4 {
  border: 2px solid #331cd4;
}
CSS variables
:root {
  --color-primary: #331cd4;
  --color-primary-rgb: 51 28 212;
  --color-primary-hsl: 248 77% 47%;
}
Gradient
.gradient-331cd4 {
  background: linear-gradient(135deg, #331cd4, #8f1cd4);
}
Colored shadow
.shadow-331cd4 {
  box-shadow: 0 8px 24px rgb(51 28 212 / 0.35);
}

Medium Blue
#331cd4  rgb(51, 28, 212)  hsl(248, 77%, 47%)  Medium Blue
#bdd41c  rgb(189, 212, 28)  hsl(68, 77%, 47%)  Pear
#d4331c  rgb(212, 51, 28)  hsl(8, 77%, 47%)  Lust
#1cd433  rgb(28, 212, 51)  hsl(128, 77%, 47%)  Lime Green