#310BC3

#310bc3 ≈ Medium Blue

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

#310bc3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 4.31% green and 76.47% blue; printed in CMYK it uses 74.87% cyan, 94.36% magenta, 0% yellow and 23.53% black. Its hue angle is 252.39°, with 89.32% saturation and 40.39% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.68:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.08.

Description generated from the measured properties of this color.

Conversions of #310bc3 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0483

Readable text 10.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #393188 ≈ 0.001% of males
Protanopia #0045c7 ≈ 1.01% of males
Deuteranopia #0036c0 ≈ 1.27% of males
Tritanopia #005172 ≈ 0.0001% of males
Protanomaly #0036c6 ≈ 1.08% of males
Deuteranomaly #002ac1 ≈ 4.63% of males
Tritanomaly #003f99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-310bc3 {
  color: #310bc3;
}
Background
.bg-310bc3 {
  background-color: #310bc3;
  color: #ffffff;
}
Border
.border-310bc3 {
  border: 2px solid #310bc3;
}
CSS variables
:root {
  --color-primary: #310bc3;
  --color-primary-rgb: 49 11 195;
  --color-primary-hsl: 252 89% 40%;
}
Gradient
.gradient-310bc3 {
  background: linear-gradient(135deg, #310bc3, #8d0bc3);
}
Colored shadow
.shadow-310bc3 {
  box-shadow: 0 8px 24px rgb(49 11 195 / 0.35);
}

Medium Blue
#310bc3  rgb(49, 11, 195)  hsl(252, 89%, 40%)  Medium Blue
#9dc30b  rgb(157, 195, 11)  hsl(72, 89%, 40%)  Yellow Green
#c3310b  rgb(195, 49, 11)  hsl(12, 89%, 40%)  Rosso Corsa
#0bc331  rgb(11, 195, 49)  hsl(132, 89%, 40%)  Lime Green