#311BBD

#311bbd ≈ Medium Blue

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

#311bbd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 10.59% green and 74.12% blue; printed in CMYK it uses 74.07% cyan, 85.71% magenta, 0% yellow and 25.88% black. Its hue angle is 248.15°, with 75% saturation and 42.35% 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.38:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.21.

Description generated from the measured properties of this color.

Conversions of #311bbd 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.0511

Readable text 10.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #3a3585 ≈ 0.001% of males
Protanopia #0047c1 ≈ 1.01% of males
Deuteranopia #0038ba ≈ 1.27% of males
Tritanopia #005170 ≈ 0.0001% of males
Protanomaly #003ac0 ≈ 1.08% of males
Deuteranomaly #002fbb ≈ 4.63% of males
Tritanomaly #004295 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-311bbd {
  color: #311bbd;
}
Background
.bg-311bbd {
  background-color: #311bbd;
  color: #ffffff;
}
Border
.border-311bbd {
  border: 2px solid #311bbd;
}
CSS variables
:root {
  --color-primary: #311bbd;
  --color-primary-rgb: 49 27 189;
  --color-primary-hsl: 248 75% 42%;
}
Gradient
.gradient-311bbd {
  background: linear-gradient(135deg, #311bbd, #821bbd);
}
Colored shadow
.shadow-311bbd {
  box-shadow: 0 8px 24px rgb(49 27 189 / 0.35);
}

Medium Blue
#311bbd  rgb(49, 27, 189)  hsl(248, 75%, 42%)  Medium Blue
#a7bd1b  rgb(167, 189, 27)  hsl(68, 75%, 42%)  Apple Green
#bd311b  rgb(189, 49, 27)  hsl(8, 75%, 42%)  Venetian Red
#1bbd31  rgb(27, 189, 49)  hsl(128, 75%, 42%)  Kelly Green