#5B2CC2

#5b2cc2 ≈ Ocean Blue

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

#5b2cc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.69% red, 17.25% green and 76.08% blue; printed in CMYK it uses 53.09% cyan, 77.32% magenta, 0% yellow and 23.92% black. Its hue angle is 258.8°, with 63.03% saturation and 46.67% 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.13:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.7.

Description generated from the measured properties of this color.

Conversions of #5b2cc2 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.0792

Readable text 8.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #54448c ≈ 0.001% of males
Protanopia #0052c6 ≈ 1.01% of males
Deuteranopia #004cbf ≈ 1.27% of males
Tritanopia #335776 ≈ 0.0001% of males
Protanomaly #0346c5 ≈ 1.08% of males
Deuteranomaly #0d41c0 ≈ 4.63% of males
Tritanomaly #46499a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b2cc2 {
  color: #5b2cc2;
}
Background
.bg-5b2cc2 {
  background-color: #5b2cc2;
  color: #ffffff;
}
Border
.border-5b2cc2 {
  border: 2px solid #5b2cc2;
}
CSS variables
:root {
  --color-primary: #5b2cc2;
  --color-primary-rgb: 91 44 194;
  --color-primary-hsl: 259 63% 47%;
}
Gradient
.gradient-5b2cc2 {
  background: linear-gradient(135deg, #5b2cc2, #a62cc2);
}
Colored shadow
.shadow-5b2cc2 {
  box-shadow: 0 8px 24px rgb(91 44 194 / 0.35);
}

Ocean Blue
#5b2cc2  rgb(91, 44, 194)  hsl(259, 63%, 47%)  Ocean Blue
#93c22c  rgb(147, 194, 44)  hsl(79, 63%, 47%)  Yellow Green
#c25b2c  rgb(194, 91, 44)  hsl(19, 63%, 47%)  Burnt Orange
#2cc25b  rgb(44, 194, 91)  hsl(139, 63%, 47%)  Emerald