#5F33CD

#5f33cd ≈ Ocean Blue

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

#5f33cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 20% green and 80.39% blue; printed in CMYK it uses 53.66% cyan, 75.12% magenta, 0% yellow and 19.61% black. Its hue angle is 257.14°, with 60.63% saturation and 50.2% 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.39:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.36.

Description generated from the measured properties of this color.

Conversions of #5f33cd 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.0921

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

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #594a95 ≈ 0.001% of males
Protanopia #0059d1 ≈ 1.01% of males
Deuteranopia #0051ca ≈ 1.27% of males
Tritanopia #325e7e ≈ 0.0001% of males
Protanomaly #074cd0 ≈ 1.08% of males
Deuteranomaly #0f47cb ≈ 4.63% of males
Tritanomaly #4850a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f33cd {
  color: #5f33cd;
}
Background
.bg-5f33cd {
  background-color: #5f33cd;
  color: #ffffff;
}
Border
.border-5f33cd {
  border: 2px solid #5f33cd;
}
CSS variables
:root {
  --color-primary: #5f33cd;
  --color-primary-rgb: 95 51 205;
  --color-primary-hsl: 257 61% 50%;
}
Gradient
.gradient-5f33cd {
  background: linear-gradient(135deg, #5f33cd, #ac33cd);
}
Colored shadow
.shadow-5f33cd {
  box-shadow: 0 8px 24px rgb(95 51 205 / 0.35);
}

Ocean Blue
#5f33cd  rgb(95, 51, 205)  hsl(257, 61%, 50%)  Ocean Blue
#a1cd33  rgb(161, 205, 51)  hsl(77, 61%, 50%)  Yellow Green
#cd5f33  rgb(205, 95, 51)  hsl(17, 61%, 50%)  Flame
#33cd5f  rgb(51, 205, 95)  hsl(137, 61%, 50%)  Malachite