#4E2EC7

#4e2ec7 ≈ Ocean Blue

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

#4e2ec7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 18.04% green and 78.04% blue; printed in CMYK it uses 60.8% cyan, 76.88% magenta, 0% yellow and 21.96% black. Its hue angle is 252.55°, with 62.45% saturation and 48.04% 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.27:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.21.

Description generated from the measured properties of this color.

Conversions of #4e2ec7 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.077

Readable text 8.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e448f ≈ 0.001% of males
Protanopia #0053cb ≈ 1.01% of males
Deuteranopia #0049c4 ≈ 1.27% of males
Tritanopia #005b79 ≈ 0.0001% of males
Protanomaly #0047ca ≈ 1.08% of males
Deuteranomaly #0040c5 ≈ 4.63% of males
Tritanomaly #2c4c9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#4e2ec7  rgb(78, 46, 199)  hsl(253, 62%, 48%)  Ocean Blue
#a7c72e  rgb(167, 199, 46)  hsl(73, 62%, 48%)  Yellow Green
#c74e2e  rgb(199, 78, 46)  hsl(13, 62%, 48%)  Sinopia
#2ec74e  rgb(46, 199, 78)  hsl(133, 62%, 48%)  Lime Green