#4D2DCA

#4d2dca ≈ Ocean Blue

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

#4d2dca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.2% red, 17.65% green and 79.22% blue; printed in CMYK it uses 61.88% cyan, 77.72% magenta, 0% yellow and 20.78% black. Its hue angle is 252.23°, with 63.56% saturation and 48.43% 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 brand accents. White text on this color reaches a contrast ratio of 8.26:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.49.

Description generated from the measured properties of this color.

Conversions of #4d2dca into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0772

Readable text 8.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4e4391 ≈ 0.001% of males
Protanopia #0054ce ≈ 1.01% of males
Deuteranopia #0049c7 ≈ 1.27% of males
Tritanopia #005b7b ≈ 0.0001% of males
Protanomaly #0047cd ≈ 1.08% of males
Deuteranomaly #003fc8 ≈ 4.63% of males
Tritanomaly #284da1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d2dca {
  color: #4d2dca;
}
Background
.bg-4d2dca {
  background-color: #4d2dca;
  color: #ffffff;
}
Border
.border-4d2dca {
  border: 2px solid #4d2dca;
}
CSS variables
:root {
  --color-primary: #4d2dca;
  --color-primary-rgb: 77 45 202;
  --color-primary-hsl: 252 64% 48%;
}
Gradient
.gradient-4d2dca {
  background: linear-gradient(135deg, #4d2dca, #9b2dca);
}
Colored shadow
.shadow-4d2dca {
  box-shadow: 0 8px 24px rgb(77 45 202 / 0.35);
}

Ocean Blue
#4d2dca  rgb(77, 45, 202)  hsl(252, 64%, 48%)  Ocean Blue
#aaca2d  rgb(170, 202, 45)  hsl(72, 64%, 48%)  Yellow Green
#ca4d2d  rgb(202, 77, 45)  hsl(12, 64%, 48%)  Sinopia
#2dca4d  rgb(45, 202, 77)  hsl(132, 64%, 48%)  Lime Green