#2D0CD2

#2d0cd2 ≈ Medium Blue

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

#2d0cd2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 17.65% red, 4.71% green and 82.35% blue; printed in CMYK it uses 78.57% cyan, 94.29% magenta, 0% yellow and 17.65% black. Its hue angle is 250°, with 89.19% saturation and 43.53% 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.02:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.37.

Description generated from the measured properties of this color.

Conversions of #2d0cd2 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.0547

Readable text 10.02: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 #3b3493 ≈ 0.001% of males
Protanopia #004bd7 ≈ 1.01% of males
Deuteranopia #0039cf ≈ 1.27% of males
Tritanopia #00587b ≈ 0.0001% of males
Protanomaly #003bd5 ≈ 1.08% of males
Deuteranomaly #002cd0 ≈ 4.63% of males
Tritanomaly #0045a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d0cd2 {
  color: #2d0cd2;
}
Background
.bg-2d0cd2 {
  background-color: #2d0cd2;
  color: #ffffff;
}
Border
.border-2d0cd2 {
  border: 2px solid #2d0cd2;
}
CSS variables
:root {
  --color-primary: #2d0cd2;
  --color-primary-rgb: 45 12 210;
  --color-primary-hsl: 250 89% 44%;
}
Gradient
.gradient-2d0cd2 {
  background: linear-gradient(135deg, #2d0cd2, #900cd2);
}
Colored shadow
.shadow-2d0cd2 {
  box-shadow: 0 8px 24px rgb(45 12 210 / 0.35);
}

Medium Blue
#2d0cd2  rgb(45, 12, 210)  hsl(250, 89%, 44%)  Medium Blue
#b1d20c  rgb(177, 210, 12)  hsl(70, 89%, 44%)  June Bud
#d22d0c  rgb(210, 45, 12)  hsl(10, 89%, 44%)  Rosso Corsa
#0cd22d  rgb(12, 210, 45)  hsl(130, 89%, 44%)  Lime Green