#5835CD

#5835cd ≈ Ocean Blue

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

#5835cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.51% red, 20.78% green and 80.39% blue; printed in CMYK it uses 57.07% cyan, 74.15% magenta, 0% yellow and 19.61% black. Its hue angle is 253.82°, with 60.32% saturation and 50.59% 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.48:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #5835cd 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.0903

Readable text 7.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #564a95 ≈ 0.001% of males
Protanopia #0059d1 ≈ 1.01% of males
Deuteranopia #0050ca ≈ 1.27% of males
Tritanopia #1b5f7f ≈ 0.0001% of males
Protanomaly #004dd0 ≈ 1.08% of males
Deuteranomaly #0047cb ≈ 4.63% of males
Tritanomaly #3c52a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5835cd {
  color: #5835cd;
}
Background
.bg-5835cd {
  background-color: #5835cd;
  color: #ffffff;
}
Border
.border-5835cd {
  border: 2px solid #5835cd;
}
CSS variables
:root {
  --color-primary: #5835cd;
  --color-primary-rgb: 88 53 205;
  --color-primary-hsl: 254 60% 51%;
}
Gradient
.gradient-5835cd {
  background: linear-gradient(135deg, #5835cd, #a435cd);
}
Colored shadow
.shadow-5835cd {
  box-shadow: 0 8px 24px rgb(88 53 205 / 0.35);
}

Ocean Blue
#5835cd  rgb(88, 53, 205)  hsl(254, 60%, 51%)  Ocean Blue
#aacd35  rgb(170, 205, 53)  hsl(74, 60%, 51%)  Yellow Green
#cd5835  rgb(205, 88, 53)  hsl(14, 60%, 51%)  Flame
#35cd58  rgb(53, 205, 88)  hsl(134, 60%, 51%)  Malachite