#502EBB

#502ebb ≈ Ocean Blue

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

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

Description generated from the measured properties of this color.

Conversions of #502ebb 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.0725

Readable text 8.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4e4287 ≈ 0.001% of males
Protanopia #0050bf ≈ 1.01% of males
Deuteranopia #0048b8 ≈ 1.27% of males
Tritanopia #195673 ≈ 0.0001% of males
Protanomaly #0045bd ≈ 1.08% of males
Deuteranomaly #003fb9 ≈ 4.63% of males
Tritanomaly #374995 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#502ebb  rgb(80, 46, 187)  hsl(254, 61%, 46%)  Ocean Blue
#99bb2e  rgb(153, 187, 46)  hsl(74, 61%, 46%)  Apple Green
#bb502e  rgb(187, 80, 46)  hsl(14, 61%, 46%)  Sinopia
#2ebb50  rgb(46, 187, 80)  hsl(134, 61%, 46%)  Emerald