#4E2AC7

#4e2ac7 ≈ Ocean Blue

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

#4e2ac7 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 78.04% blue; printed in CMYK it uses 60.8% cyan, 78.89% magenta, 0% yellow and 21.96% black. Its hue angle is 253.76°, with 65.15% saturation and 47.25% 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.47:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.87.

Description generated from the measured properties of this color.

Conversions of #4e2ac7 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.074

Readable text 8.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4d418f ≈ 0.001% of males
Protanopia #0052cb ≈ 1.01% of males
Deuteranopia #0048c4 ≈ 1.27% of males
Tritanopia #005979 ≈ 0.0001% of males
Protanomaly #0045ca ≈ 1.08% of males
Deuteranomaly #003ec5 ≈ 4.63% of males
Tritanomaly #2c4a9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#4e2ac7  rgb(78, 42, 199)  hsl(254, 65%, 47%)  Ocean Blue
#a3c72a  rgb(163, 199, 42)  hsl(74, 65%, 47%)  Yellow Green
#c74e2a  rgb(199, 78, 42)  hsl(14, 65%, 47%)  Sinopia
#2ac74e  rgb(42, 199, 78)  hsl(134, 65%, 47%)  Lime Green