#331FD3

#331fd3 ≈ Medium Blue

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

#331fd3 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 82.75% blue; printed in CMYK it uses 75.83% cyan, 85.31% magenta, 0% yellow and 17.25% black. Its hue angle is 246.67°, with 74.38% saturation and 47.45% 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.22:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.26.

Description generated from the measured properties of this color.

Conversions of #331fd3 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.0639

Readable text 9.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #403b95 ≈ 0.001% of males
Protanopia #004fd8 ≈ 1.01% of males
Deuteranopia #003fd0 ≈ 1.27% of males
Tritanopia #005c7e ≈ 0.0001% of males
Protanomaly #0041d6 ≈ 1.08% of males
Deuteranomaly #0035d1 ≈ 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-331fd3 {
  color: #331fd3;
}
Background
.bg-331fd3 {
  background-color: #331fd3;
  color: #ffffff;
}
Border
.border-331fd3 {
  border: 2px solid #331fd3;
}
CSS variables
:root {
  --color-primary: #331fd3;
  --color-primary-rgb: 51 31 211;
  --color-primary-hsl: 247 74% 47%;
}
Gradient
.gradient-331fd3 {
  background: linear-gradient(135deg, #331fd3, #8d1fd3);
}
Colored shadow
.shadow-331fd3 {
  box-shadow: 0 8px 24px rgb(51 31 211 / 0.35);
}

Medium Blue
#331fd3  rgb(51, 31, 211)  hsl(247, 74%, 47%)  Medium Blue
#bfd31f  rgb(191, 211, 31)  hsl(67, 74%, 47%)  Pear
#d3331f  rgb(211, 51, 31)  hsl(7, 74%, 47%)  Lust
#1fd333  rgb(31, 211, 51)  hsl(127, 74%, 47%)  Lime Green