#4E2AC5

#4e2ac5 ≈ Ocean Blue

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

#4e2ac5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 16.47% green and 77.25% blue; printed in CMYK it uses 60.41% cyan, 78.68% magenta, 0% yellow and 22.75% black. Its hue angle is 253.94°, with 64.85% saturation and 46.86% 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.53:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.82.

Description generated from the measured properties of this color.

Conversions of #4e2ac5 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.0731

Readable text 8.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4d418d ≈ 0.001% of males
Protanopia #0051c9 ≈ 1.01% of males
Deuteranopia #0047c2 ≈ 1.27% of males
Tritanopia #005877 ≈ 0.0001% of males
Protanomaly #0045c8 ≈ 1.08% of males
Deuteranomaly #003dc3 ≈ 4.63% of males
Tritanomaly #2e4a9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2ac5 {
  color: #4e2ac5;
}
Background
.bg-4e2ac5 {
  background-color: #4e2ac5;
  color: #ffffff;
}
Border
.border-4e2ac5 {
  border: 2px solid #4e2ac5;
}
CSS variables
:root {
  --color-primary: #4e2ac5;
  --color-primary-rgb: 78 42 197;
  --color-primary-hsl: 254 65% 47%;
}
Gradient
.gradient-4e2ac5 {
  background: linear-gradient(135deg, #4e2ac5, #9c2ac5);
}
Colored shadow
.shadow-4e2ac5 {
  box-shadow: 0 8px 24px rgb(78 42 197 / 0.35);
}

Ocean Blue
#4e2ac5  rgb(78, 42, 197)  hsl(254, 65%, 47%)  Ocean Blue
#a1c52a  rgb(161, 197, 42)  hsl(74, 65%, 47%)  Yellow Green
#c54e2a  rgb(197, 78, 42)  hsl(14, 65%, 47%)  Sinopia
#2ac54e  rgb(42, 197, 78)  hsl(134, 65%, 47%)  Lime Green