#2D0CC2

#2d0cc2 ≈ Medium Blue

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

#2d0cc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 4.71% green and 76.08% blue; printed in CMYK it uses 76.8% cyan, 93.81% magenta, 0% yellow and 23.92% black. Its hue angle is 250.88°, with 88.35% 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.81:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.9.

Description generated from the measured properties of this color.

Conversions of #2d0cc2 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.0472

Readable text 10.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #373087 ≈ 0.001% of males
Protanopia #0045c6 ≈ 1.01% of males
Deuteranopia #0035bf ≈ 1.27% of males
Tritanopia #005071 ≈ 0.0001% of males
Protanomaly #0036c5 ≈ 1.08% of males
Deuteranomaly #002ac0 ≈ 4.63% of males
Tritanomaly #003f98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d0cc2 {
  color: #2d0cc2;
}
Background
.bg-2d0cc2 {
  background-color: #2d0cc2;
  color: #ffffff;
}
Border
.border-2d0cc2 {
  border: 2px solid #2d0cc2;
}
CSS variables
:root {
  --color-primary: #2d0cc2;
  --color-primary-rgb: 45 12 194;
  --color-primary-hsl: 251 88% 40%;
}
Gradient
.gradient-2d0cc2 {
  background: linear-gradient(135deg, #2d0cc2, #880cc2);
}
Colored shadow
.shadow-2d0cc2 {
  box-shadow: 0 8px 24px rgb(45 12 194 / 0.35);
}

Medium Blue
#2d0cc2  rgb(45, 12, 194)  hsl(251, 88%, 40%)  Medium Blue
#a1c20c  rgb(161, 194, 12)  hsl(71, 88%, 40%)  Apple Green
#c22d0c  rgb(194, 45, 12)  hsl(11, 88%, 40%)  Rosso Corsa
#0cc22d  rgb(12, 194, 45)  hsl(131, 88%, 40%)  Lime Green