#310DCF

#310dcf ≈ Medium Blue

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

#310dcf 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.1% green and 81.18% blue; printed in CMYK it uses 76.33% cyan, 93.72% magenta, 0% yellow and 18.82% black. Its hue angle is 251.13°, with 88.18% saturation and 43.14% 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.05:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.44.

Description generated from the measured properties of this color.

Conversions of #310dcf 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.0545

Readable text 10.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #3c3491 ≈ 0.001% of males
Protanopia #004ad4 ≈ 1.01% of males
Deuteranopia #0039cc ≈ 1.27% of males
Tritanopia #005679 ≈ 0.0001% of males
Protanomaly #003ad2 ≈ 1.08% of males
Deuteranomaly #002dcd ≈ 4.63% of males
Tritanomaly #0044a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#310dcf  rgb(49, 13, 207)  hsl(251, 88%, 43%)  Medium Blue
#abcf0d  rgb(171, 207, 13)  hsl(71, 88%, 43%)  Yellow Green
#cf310d  rgb(207, 49, 13)  hsl(11, 88%, 43%)  Rosso Corsa
#0dcf31  rgb(13, 207, 49)  hsl(131, 88%, 43%)  Lime Green