#371CBA

#371cba ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#371cba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 21.57% red, 10.98% green and 72.94% blue; printed in CMYK it uses 70.43% cyan, 84.95% magenta, 0% yellow and 27.06% black. Its hue angle is 250.25°, with 73.83% saturation and 41.96% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 10.31:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #371cba 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.0519

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

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #3d3583 ≈ 0.001% of males
Protanopia #0047be ≈ 1.01% of males
Deuteranopia #003ab7 ≈ 1.27% of males
Tritanopia #00506e ≈ 0.0001% of males
Protanomaly #003abd ≈ 1.08% of males
Deuteranomaly #0030b8 ≈ 4.63% of males
Tritanomaly #004193 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-371cba {
  color: #371cba;
}
Background
.bg-371cba {
  background-color: #371cba;
  color: #ffffff;
}
Border
.border-371cba {
  border: 2px solid #371cba;
}
CSS variables
:root {
  --color-primary: #371cba;
  --color-primary-rgb: 55 28 186;
  --color-primary-hsl: 250 74% 42%;
}
Gradient
.gradient-371cba {
  background: linear-gradient(135deg, #371cba, #861cba);
}
Colored shadow
.shadow-371cba {
  box-shadow: 0 8px 24px rgb(55 28 186 / 0.35);
}

Medium Blue
#371cba  rgb(55, 28, 186)  hsl(250, 74%, 42%)  Medium Blue
#9fba1c  rgb(159, 186, 28)  hsl(70, 74%, 42%)  Apple Green
#ba371c  rgb(186, 55, 28)  hsl(10, 74%, 42%)  Rust
#1cba37  rgb(28, 186, 55)  hsl(130, 74%, 42%)  Kelly Green