#4E2CC6

#4e2cc6 ≈ Ocean Blue

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

#4e2cc6 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 17.25% green and 77.65% blue; printed in CMYK it uses 60.61% cyan, 77.78% magenta, 0% yellow and 22.35% black. Its hue angle is 253.25°, with 63.64% saturation and 47.45% 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.4:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.51.

Description generated from the measured properties of this color.

Conversions of #4e2cc6 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.075

Readable text 8.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4e428e ≈ 0.001% of males
Protanopia #0052ca ≈ 1.01% of males
Deuteranopia #0048c3 ≈ 1.27% of males
Tritanopia #005978 ≈ 0.0001% of males
Protanomaly #0046c9 ≈ 1.08% of males
Deuteranomaly #003fc4 ≈ 4.63% of males
Tritanomaly #2d4b9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2cc6 {
  color: #4e2cc6;
}
Background
.bg-4e2cc6 {
  background-color: #4e2cc6;
  color: #ffffff;
}
Border
.border-4e2cc6 {
  border: 2px solid #4e2cc6;
}
CSS variables
:root {
  --color-primary: #4e2cc6;
  --color-primary-rgb: 78 44 198;
  --color-primary-hsl: 253 64% 47%;
}
Gradient
.gradient-4e2cc6 {
  background: linear-gradient(135deg, #4e2cc6, #9b2cc6);
}
Colored shadow
.shadow-4e2cc6 {
  box-shadow: 0 8px 24px rgb(78 44 198 / 0.35);
}

Ocean Blue
#4e2cc6  rgb(78, 44, 198)  hsl(253, 64%, 47%)  Ocean Blue
#a4c62c  rgb(164, 198, 44)  hsl(73, 64%, 47%)  Yellow Green
#c64e2c  rgb(198, 78, 44)  hsl(13, 64%, 47%)  Sinopia
#2cc64e  rgb(44, 198, 78)  hsl(133, 64%, 47%)  Lime Green