#4A2EA3

#4a2ea3 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#4a2ea3 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 29.02% red, 18.04% green and 63.92% blue; printed in CMYK it uses 54.6% cyan, 71.78% magenta, 0% yellow and 36.08% black. Its hue angle is 254.36°, with 55.98% saturation and 40.98% 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 9.5:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.71.

Description generated from the measured properties of this color.

Conversions of #4a2ea3 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0605

Readable text 9.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #473d77 ≈ 0.001% of males
Protanopia #0048a6 ≈ 1.01% of males
Deuteranopia #0042a1 ≈ 1.27% of males
Tritanopia #254d65 ≈ 0.0001% of males
Protanomaly #123fa5 ≈ 1.08% of males
Deuteranomaly #133ba2 ≈ 4.63% of males
Tritanomaly #374382 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a2ea3 {
  color: #4a2ea3;
}
Background
.bg-4a2ea3 {
  background-color: #4a2ea3;
  color: #ffffff;
}
Border
.border-4a2ea3 {
  border: 2px solid #4a2ea3;
}
CSS variables
:root {
  --color-primary: #4a2ea3;
  --color-primary-rgb: 74 46 163;
  --color-primary-hsl: 254 56% 41%;
}
Gradient
.gradient-4a2ea3 {
  background: linear-gradient(135deg, #4a2ea3, #852ea3);
}
Colored shadow
.shadow-4a2ea3 {
  box-shadow: 0 8px 24px rgb(74 46 163 / 0.35);
}

Ocean Blue
#4a2ea3  rgb(74, 46, 163)  hsl(254, 56%, 41%)  Ocean Blue
#87a32e  rgb(135, 163, 46)  hsl(74, 56%, 41%)  Apple Green
#a34a2e  rgb(163, 74, 46)  hsl(14, 56%, 41%)  Sienna
#2ea34a  rgb(46, 163, 74)  hsl(134, 56%, 41%)  Shamrock Green