#522EC6

#522ec6 ≈ Ocean Blue

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

#522ec6 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 77.65% blue; printed in CMYK it uses 58.59% cyan, 76.77% magenta, 0% yellow and 22.35% black. Its hue angle is 254.21°, with 62.3% saturation and 47.84% 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.19:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.21.

Description generated from the measured properties of this color.

Conversions of #522ec6 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.0783

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #50448f ≈ 0.001% of males
Protanopia #0053ca ≈ 1.01% of males
Deuteranopia #004ac3 ≈ 1.27% of males
Tritanopia #095a79 ≈ 0.0001% of males
Protanomaly #0047c9 ≈ 1.08% of males
Deuteranomaly #0041c4 ≈ 4.63% of males
Tritanomaly #354c9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#522ec6  rgb(82, 46, 198)  hsl(254, 62%, 48%)  Ocean Blue
#a2c62e  rgb(162, 198, 46)  hsl(74, 62%, 48%)  Yellow Green
#c6522e  rgb(198, 82, 46)  hsl(14, 62%, 48%)  Sinopia
#2ec652  rgb(46, 198, 82)  hsl(134, 62%, 48%)  Lime Green