#331FBB

#331fbb ≈ Medium Blue

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

#331fbb 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 73.33% blue; printed in CMYK it uses 72.73% cyan, 83.42% magenta, 0% yellow and 26.67% black. Its hue angle is 247.69°, with 71.56% saturation and 42.75% 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.22:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #331fbb 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.0527

Readable text 10.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.05:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #3c3684 ≈ 0.001% of males
Protanopia #0047bf ≈ 1.01% of males
Deuteranopia #003ab8 ≈ 1.27% of males
Tritanopia #005270 ≈ 0.0001% of males
Protanomaly #003bbe ≈ 1.08% of males
Deuteranomaly #0031b9 ≈ 4.63% of males
Tritanomaly #004394 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#331fbb  rgb(51, 31, 187)  hsl(248, 72%, 43%)  Medium Blue
#a7bb1f  rgb(167, 187, 31)  hsl(68, 72%, 43%)  Apple Green
#bb331f  rgb(187, 51, 31)  hsl(8, 72%, 43%)  Venetian Red
#1fbb33  rgb(31, 187, 51)  hsl(128, 72%, 43%)  Kelly Green