#5A3BCB

#5a3bcb ≈ Ocean Blue

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

#5a3bcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 23.14% green and 79.61% blue; printed in CMYK it uses 55.67% cyan, 70.94% magenta, 0% yellow and 20.39% black. Its hue angle is 252.92°, with 58.06% saturation and 51.37% 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 7.19:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.95.

Description generated from the measured properties of this color.

Conversions of #5a3bcb 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.0961

Readable text 7.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #584d94 ≈ 0.001% of males
Protanopia #005bcf ≈ 1.01% of males
Deuteranopia #0053c8 ≈ 1.27% of males
Tritanopia #25627f ≈ 0.0001% of males
Protanomaly #0e50ce ≈ 1.08% of males
Deuteranomaly #0e4ac9 ≈ 4.63% of males
Tritanomaly #4055a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a3bcb {
  color: #5a3bcb;
}
Background
.bg-5a3bcb {
  background-color: #5a3bcb;
  color: #ffffff;
}
Border
.border-5a3bcb {
  border: 2px solid #5a3bcb;
}
CSS variables
:root {
  --color-primary: #5a3bcb;
  --color-primary-rgb: 90 59 203;
  --color-primary-hsl: 253 58% 51%;
}
Gradient
.gradient-5a3bcb {
  background: linear-gradient(135deg, #5a3bcb, #a23bcb);
}
Colored shadow
.shadow-5a3bcb {
  box-shadow: 0 8px 24px rgb(90 59 203 / 0.35);
}

Ocean Blue
#5a3bcb  rgb(90, 59, 203)  hsl(253, 58%, 51%)  Ocean Blue
#accb3b  rgb(172, 203, 59)  hsl(73, 58%, 51%)  Yellow Green
#cb5a3b  rgb(203, 90, 59)  hsl(13, 58%, 51%)  Cinnabar
#3bcb5a  rgb(59, 203, 90)  hsl(133, 58%, 51%)  Malachite