#310ED4

#310ed4 ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#310ed4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 5.49% green and 83.14% blue; printed in CMYK it uses 76.89% cyan, 93.4% magenta, 0% yellow and 16.86% black. Its hue angle is 250.61°, with 87.61% saturation and 44.31% 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 9.79:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #310ed4 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.0572

Readable text 9.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #3d3594 ≈ 0.001% of males
Protanopia #004cd9 ≈ 1.01% of males
Deuteranopia #003ad1 ≈ 1.27% of males
Tritanopia #00597c ≈ 0.0001% of males
Protanomaly #003cd7 ≈ 1.08% of males
Deuteranomaly #002ed2 ≈ 4.63% of males
Tritanomaly #0046a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-310ed4 {
  color: #310ed4;
}
Background
.bg-310ed4 {
  background-color: #310ed4;
  color: #ffffff;
}
Border
.border-310ed4 {
  border: 2px solid #310ed4;
}
CSS variables
:root {
  --color-primary: #310ed4;
  --color-primary-rgb: 49 14 212;
  --color-primary-hsl: 251 88% 44%;
}
Gradient
.gradient-310ed4 {
  background: linear-gradient(135deg, #310ed4, #940ed4);
}
Colored shadow
.shadow-310ed4 {
  box-shadow: 0 8px 24px rgb(49 14 212 / 0.35);
}

Medium Blue
#310ed4  rgb(49, 14, 212)  hsl(251, 88%, 44%)  Medium Blue
#b1d40e  rgb(177, 212, 14)  hsl(71, 88%, 44%)  June Bud
#d4310e  rgb(212, 49, 14)  hsl(11, 88%, 44%)  Sinopia
#0ed431  rgb(14, 212, 49)  hsl(131, 88%, 44%)  Lime Green