#502CBB

#502cbb ≈ Ocean Blue

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

#502cbb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.37% red, 17.25% green and 73.33% blue; printed in CMYK it uses 57.22% cyan, 76.47% magenta, 0% yellow and 26.67% black. Its hue angle is 255.1°, with 61.9% saturation and 45.29% 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 8.68:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.34.

Description generated from the measured properties of this color.

Conversions of #502cbb 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.0709

Readable text 8.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4d4187 ≈ 0.001% of males
Protanopia #004fbf ≈ 1.01% of males
Deuteranopia #0047b8 ≈ 1.27% of males
Tritanopia #195572 ≈ 0.0001% of males
Protanomaly #0044bd ≈ 1.08% of males
Deuteranomaly #003eb9 ≈ 4.63% of males
Tritanomaly #374895 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-502cbb {
  color: #502cbb;
}
Background
.bg-502cbb {
  background-color: #502cbb;
  color: #ffffff;
}
Border
.border-502cbb {
  border: 2px solid #502cbb;
}
CSS variables
:root {
  --color-primary: #502cbb;
  --color-primary-rgb: 80 44 187;
  --color-primary-hsl: 255 62% 45%;
}
Gradient
.gradient-502cbb {
  background: linear-gradient(135deg, #502cbb, #972cbb);
}
Colored shadow
.shadow-502cbb {
  box-shadow: 0 8px 24px rgb(80 44 187 / 0.35);
}

Ocean Blue
#502cbb  rgb(80, 44, 187)  hsl(255, 62%, 45%)  Ocean Blue
#97bb2c  rgb(151, 187, 44)  hsl(75, 62%, 45%)  Apple Green
#bb502c  rgb(187, 80, 44)  hsl(15, 62%, 45%)  Sinopia
#2cbb50  rgb(44, 187, 80)  hsl(135, 62%, 45%)  Emerald