#5E35CA

#5e35ca ≈ Ocean Blue

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

#5e35ca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.86% red, 20.78% green and 79.22% blue; printed in CMYK it uses 53.47% cyan, 73.76% magenta, 0% yellow and 20.78% black. Its hue angle is 256.51°, with 58.43% saturation and 50% 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.4:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.86.

Description generated from the measured properties of this color.

Conversions of #5e35ca 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.0919

Readable text 7.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #594a93 ≈ 0.001% of males
Protanopia #0059ce ≈ 1.01% of males
Deuteranopia #0051c7 ≈ 1.27% of males
Tritanopia #325e7d ≈ 0.0001% of males
Protanomaly #0f4dcd ≈ 1.08% of males
Deuteranomaly #1448c8 ≈ 4.63% of males
Tritanomaly #4850a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e35ca {
  color: #5e35ca;
}
Background
.bg-5e35ca {
  background-color: #5e35ca;
  color: #ffffff;
}
Border
.border-5e35ca {
  border: 2px solid #5e35ca;
}
CSS variables
:root {
  --color-primary: #5e35ca;
  --color-primary-rgb: 94 53 202;
  --color-primary-hsl: 257 58% 50%;
}
Gradient
.gradient-5e35ca {
  background: linear-gradient(135deg, #5e35ca, #a835ca);
}
Colored shadow
.shadow-5e35ca {
  box-shadow: 0 8px 24px rgb(94 53 202 / 0.35);
}

Ocean Blue
#5e35ca  rgb(94, 53, 202)  hsl(257, 58%, 50%)  Ocean Blue
#a1ca35  rgb(161, 202, 53)  hsl(77, 58%, 50%)  Yellow Green
#ca5e35  rgb(202, 94, 53)  hsl(17, 58%, 50%)  Flame
#35ca5e  rgb(53, 202, 94)  hsl(137, 58%, 50%)  Emerald