#331FBD

#331fbd ≈ Medium Blue

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

#331fbd 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 74.12% blue; printed in CMYK it uses 73.02% cyan, 83.6% magenta, 0% yellow and 25.88% black. Its hue angle is 247.59°, with 71.82% saturation and 43.14% 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 10.14:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #331fbd 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.0536

Readable text 10.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #3c3785 ≈ 0.001% of males
Protanopia #0048c1 ≈ 1.01% of males
Deuteranopia #003aba ≈ 1.27% of males
Tritanopia #005271 ≈ 0.0001% of males
Protanomaly #003cc0 ≈ 1.08% of males
Deuteranomaly #0031bb ≈ 4.63% of males
Tritanomaly #004395 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331fbd {
  color: #331fbd;
}
Background
.bg-331fbd {
  background-color: #331fbd;
  color: #ffffff;
}
Border
.border-331fbd {
  border: 2px solid #331fbd;
}
CSS variables
:root {
  --color-primary: #331fbd;
  --color-primary-rgb: 51 31 189;
  --color-primary-hsl: 248 72% 43%;
}
Gradient
.gradient-331fbd {
  background: linear-gradient(135deg, #331fbd, #821fbd);
}
Colored shadow
.shadow-331fbd {
  box-shadow: 0 8px 24px rgb(51 31 189 / 0.35);
}

Medium Blue
#331fbd  rgb(51, 31, 189)  hsl(248, 72%, 43%)  Medium Blue
#a9bd1f  rgb(169, 189, 31)  hsl(68, 72%, 43%)  Apple Green
#bd331f  rgb(189, 51, 31)  hsl(8, 72%, 43%)  Venetian Red
#1fbd33  rgb(31, 189, 51)  hsl(128, 72%, 43%)  Kelly Green