#522DC3

#522dc3 ≈ Ocean Blue

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

#522dc3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 17.65% green and 76.47% blue; printed in CMYK it uses 57.95% cyan, 76.92% magenta, 0% yellow and 23.53% black. Its hue angle is 254.8°, with 62.5% saturation and 47.06% 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.33:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #522dc3 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.0761

Readable text 8.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #50438c ≈ 0.001% of males
Protanopia #0052c7 ≈ 1.01% of males
Deuteranopia #0049c0 ≈ 1.27% of males
Tritanopia #135877 ≈ 0.0001% of males
Protanomaly #0046c6 ≈ 1.08% of males
Deuteranomaly #0040c1 ≈ 4.63% of males
Tritanomaly #374b9b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-522dc3 {
  color: #522dc3;
}
Background
.bg-522dc3 {
  background-color: #522dc3;
  color: #ffffff;
}
Border
.border-522dc3 {
  border: 2px solid #522dc3;
}
CSS variables
:root {
  --color-primary: #522dc3;
  --color-primary-rgb: 82 45 195;
  --color-primary-hsl: 255 63% 47%;
}
Gradient
.gradient-522dc3 {
  background: linear-gradient(135deg, #522dc3, #9d2dc3);
}
Colored shadow
.shadow-522dc3 {
  box-shadow: 0 8px 24px rgb(82 45 195 / 0.35);
}

Ocean Blue
#522dc3  rgb(82, 45, 195)  hsl(255, 63%, 47%)  Ocean Blue
#9ec32d  rgb(158, 195, 45)  hsl(75, 63%, 47%)  Yellow Green
#c3522d  rgb(195, 82, 45)  hsl(15, 63%, 47%)  Sinopia
#2dc352  rgb(45, 195, 82)  hsl(135, 63%, 47%)  Lime Green