#310BC8

#310bc8 ≈ Medium Blue

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

#310bc8 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 78.43% blue; printed in CMYK it uses 75.5% cyan, 94.5% magenta, 0% yellow and 21.57% black. Its hue angle is 252.06°, with 89.57% saturation and 41.37% 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.43:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.06.

Description generated from the measured properties of this color.

Conversions of #310bc8 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.0506

Readable text 10.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #3a328c ≈ 0.001% of males
Protanopia #0047cd ≈ 1.01% of males
Deuteranopia #0037c5 ≈ 1.27% of males
Tritanopia #005375 ≈ 0.0001% of males
Protanomaly #0038cb ≈ 1.08% of males
Deuteranomaly #002bc6 ≈ 4.63% of males
Tritanomaly #00419d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#310bc8  rgb(49, 11, 200)  hsl(252, 90%, 41%)  Medium Blue
#a2c80b  rgb(162, 200, 11)  hsl(72, 90%, 41%)  Yellow Green
#c8310b  rgb(200, 49, 11)  hsl(12, 90%, 41%)  Rosso Corsa
#0bc831  rgb(11, 200, 49)  hsl(132, 90%, 41%)  Lime Green