#311FBB

#311fbb ≈ Medium Blue

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

#311fbb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 12.16% green and 73.33% blue; printed in CMYK it uses 73.8% cyan, 83.42% magenta, 0% yellow and 26.67% black. Its hue angle is 246.92°, 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.27: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 #311fbb 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.0522

Readable text 10.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.04:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #3b3684 ≈ 0.001% of males
Protanopia #0047bf ≈ 1.01% of males
Deuteranopia #0039b8 ≈ 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-311fbb {
  color: #311fbb;
}
Background
.bg-311fbb {
  background-color: #311fbb;
  color: #ffffff;
}
Border
.border-311fbb {
  border: 2px solid #311fbb;
}
CSS variables
:root {
  --color-primary: #311fbb;
  --color-primary-rgb: 49 31 187;
  --color-primary-hsl: 247 72% 43%;
}
Gradient
.gradient-311fbb {
  background: linear-gradient(135deg, #311fbb, #7f1fbb);
}
Colored shadow
.shadow-311fbb {
  box-shadow: 0 8px 24px rgb(49 31 187 / 0.35);
}

Medium Blue
#311fbb  rgb(49, 31, 187)  hsl(247, 72%, 43%)  Medium Blue
#a9bb1f  rgb(169, 187, 31)  hsl(67, 72%, 43%)  Apple Green
#bb311f  rgb(187, 49, 31)  hsl(7, 72%, 43%)  Venetian Red
#1fbb31  rgb(31, 187, 49)  hsl(127, 72%, 43%)  Kelly Green