#331FD4

#331fd4 ≈ Medium Blue

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

#331fd4 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 83.14% blue; printed in CMYK it uses 75.94% cyan, 85.38% magenta, 0% yellow and 16.86% black. Its hue angle is 246.63°, with 74.49% saturation and 47.65% 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.18:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #331fd4 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.0644

Readable text 9.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #403b95 ≈ 0.001% of males
Protanopia #0050d9 ≈ 1.01% of males
Deuteranopia #003fd1 ≈ 1.27% of males
Tritanopia #005c7e ≈ 0.0001% of males
Protanomaly #0041d7 ≈ 1.08% of males
Deuteranomaly #0035d2 ≈ 4.63% of males
Tritanomaly #004ba8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331fd4 {
  color: #331fd4;
}
Background
.bg-331fd4 {
  background-color: #331fd4;
  color: #ffffff;
}
Border
.border-331fd4 {
  border: 2px solid #331fd4;
}
CSS variables
:root {
  --color-primary: #331fd4;
  --color-primary-rgb: 51 31 212;
  --color-primary-hsl: 247 74% 48%;
}
Gradient
.gradient-331fd4 {
  background: linear-gradient(135deg, #331fd4, #8e1fd4);
}
Colored shadow
.shadow-331fd4 {
  box-shadow: 0 8px 24px rgb(51 31 212 / 0.35);
}

Medium Blue
#331fd4  rgb(51, 31, 212)  hsl(247, 74%, 48%)  Medium Blue
#c0d41f  rgb(192, 212, 31)  hsl(67, 74%, 48%)  Pear
#d4331f  rgb(212, 51, 31)  hsl(7, 74%, 48%)  Lust
#1fd433  rgb(31, 212, 51)  hsl(127, 74%, 48%)  Lime Green