#5335CD

#5335cd ≈ Ocean Blue

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

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

Description generated from the measured properties of this color.

Conversions of #5335cd 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.0879

Readable text 7.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #534994 ≈ 0.001% of males
Protanopia #0058d1 ≈ 1.01% of males
Deuteranopia #004eca ≈ 1.27% of males
Tritanopia #00607f ≈ 0.0001% of males
Protanomaly #004dd0 ≈ 1.08% of males
Deuteranomaly #0046cb ≈ 4.63% of males
Tritanomaly #3352a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#5335cd  rgb(83, 53, 205)  hsl(252, 60%, 51%)  Ocean Blue
#afcd35  rgb(175, 205, 53)  hsl(72, 60%, 51%)  Yellow Green
#cd5335  rgb(205, 83, 53)  hsl(12, 60%, 51%)  Cinnabar
#35cd53  rgb(53, 205, 83)  hsl(132, 60%, 51%)  Malachite