#4E2FCD

#4e2fcd ≈ Ocean Blue

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

#4e2fcd 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.43% green and 80.39% blue; printed in CMYK it uses 61.95% cyan, 77.07% magenta, 0% yellow and 19.61% black. Its hue angle is 251.77°, with 62.7% saturation and 49.41% 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.04:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #4e2fcd 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.0806

Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4f4593 ≈ 0.001% of males
Protanopia #0055d1 ≈ 1.01% of males
Deuteranopia #004aca ≈ 1.27% of males
Tritanopia #005d7d ≈ 0.0001% of males
Protanomaly #0049d0 ≈ 1.08% of males
Deuteranomaly #0041cb ≈ 4.63% of males
Tritanomaly #284fa3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2fcd {
  color: #4e2fcd;
}
Background
.bg-4e2fcd {
  background-color: #4e2fcd;
  color: #ffffff;
}
Border
.border-4e2fcd {
  border: 2px solid #4e2fcd;
}
CSS variables
:root {
  --color-primary: #4e2fcd;
  --color-primary-rgb: 78 47 205;
  --color-primary-hsl: 252 63% 49%;
}
Gradient
.gradient-4e2fcd {
  background: linear-gradient(135deg, #4e2fcd, #9d2fcd);
}
Colored shadow
.shadow-4e2fcd {
  box-shadow: 0 8px 24px rgb(78 47 205 / 0.35);
}

Ocean Blue
#4e2fcd  rgb(78, 47, 205)  hsl(252, 63%, 49%)  Ocean Blue
#aecd2f  rgb(174, 205, 47)  hsl(72, 63%, 49%)  Yellow Green
#cd4e2f  rgb(205, 78, 47)  hsl(12, 63%, 49%)  Cinnabar
#2fcd4e  rgb(47, 205, 78)  hsl(132, 63%, 49%)  Lime Green