#331FCD

#331fcd ≈ Medium Blue

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

#331fcd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 80.39% blue; printed in CMYK it uses 75.12% cyan, 84.88% magenta, 0% yellow and 19.61% black. Its hue angle is 246.9°, with 73.73% saturation and 46.27% 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.47:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.92.

Description generated from the measured properties of this color.

Conversions of #331fcd 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.0609

Readable text 9.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #3f3a90 ≈ 0.001% of males
Protanopia #004dd2 ≈ 1.01% of males
Deuteranopia #003eca ≈ 1.27% of males
Tritanopia #00597a ≈ 0.0001% of males
Protanomaly #0040d0 ≈ 1.08% of males
Deuteranomaly #0034cb ≈ 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-331fcd {
  color: #331fcd;
}
Background
.bg-331fcd {
  background-color: #331fcd;
  color: #ffffff;
}
Border
.border-331fcd {
  border: 2px solid #331fcd;
}
CSS variables
:root {
  --color-primary: #331fcd;
  --color-primary-rgb: 51 31 205;
  --color-primary-hsl: 247 74% 46%;
}
Gradient
.gradient-331fcd {
  background: linear-gradient(135deg, #331fcd, #8a1fcd);
}
Colored shadow
.shadow-331fcd {
  box-shadow: 0 8px 24px rgb(51 31 205 / 0.35);
}

Medium Blue
#331fcd  rgb(51, 31, 205)  hsl(247, 74%, 46%)  Medium Blue
#b9cd1f  rgb(185, 205, 31)  hsl(67, 74%, 46%)  Pear
#cd331f  rgb(205, 51, 31)  hsl(7, 74%, 46%)  Rosso Corsa
#1fcd33  rgb(31, 205, 51)  hsl(127, 74%, 46%)  Lime Green