#522EC3

#522ec3 ≈ Ocean Blue

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

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

Description generated from the measured properties of this color.

Conversions of #522ec3 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.0769

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

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #50448d ≈ 0.001% of males
Protanopia #0052c7 ≈ 1.01% of males
Deuteranopia #004ac0 ≈ 1.27% of males
Tritanopia #125977 ≈ 0.0001% of males
Protanomaly #0046c6 ≈ 1.08% of males
Deuteranomaly #0040c1 ≈ 4.63% of males
Tritanomaly #364b9b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#522ec3  rgb(82, 46, 195)  hsl(255, 62%, 47%)  Ocean Blue
#9fc32e  rgb(159, 195, 46)  hsl(75, 62%, 47%)  Yellow Green
#c3522e  rgb(195, 82, 46)  hsl(15, 62%, 47%)  Sinopia
#2ec352  rgb(46, 195, 82)  hsl(135, 62%, 47%)  Lime Green