#502EC6

#502ec6 ≈ Ocean Blue

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

#502ec6 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 77.65% blue; printed in CMYK it uses 59.6% cyan, 76.77% magenta, 0% yellow and 22.35% black. Its hue angle is 253.42°, with 62.3% saturation and 47.84% 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.24:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.18.

Description generated from the measured properties of this color.

Conversions of #502ec6 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.0774

Readable text 8.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4f448e ≈ 0.001% of males
Protanopia #0053ca ≈ 1.01% of males
Deuteranopia #004ac3 ≈ 1.27% of males
Tritanopia #005a79 ≈ 0.0001% of males
Protanomaly #0047c9 ≈ 1.08% of males
Deuteranomaly #0040c4 ≈ 4.63% of males
Tritanomaly #314c9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-502ec6 {
  color: #502ec6;
}
Background
.bg-502ec6 {
  background-color: #502ec6;
  color: #ffffff;
}
Border
.border-502ec6 {
  border: 2px solid #502ec6;
}
CSS variables
:root {
  --color-primary: #502ec6;
  --color-primary-rgb: 80 46 198;
  --color-primary-hsl: 253 62% 48%;
}
Gradient
.gradient-502ec6 {
  background: linear-gradient(135deg, #502ec6, #9c2ec6);
}
Colored shadow
.shadow-502ec6 {
  box-shadow: 0 8px 24px rgb(80 46 198 / 0.35);
}

Ocean Blue
#502ec6  rgb(80, 46, 198)  hsl(253, 62%, 48%)  Ocean Blue
#a4c62e  rgb(164, 198, 46)  hsl(73, 62%, 48%)  Yellow Green
#c6502e  rgb(198, 80, 46)  hsl(13, 62%, 48%)  Sinopia
#2ec650  rgb(46, 198, 80)  hsl(133, 62%, 48%)  Lime Green