#4A2EBA

#4a2eba ≈ Ocean Blue

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

#4a2eba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.02% red, 18.04% green and 72.94% blue; printed in CMYK it uses 60.22% cyan, 75.27% magenta, 0% yellow and 27.06% black. Its hue angle is 252°, with 60.34% saturation and 45.49% 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.78:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.94.

Description generated from the measured properties of this color.

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

Readable text 8.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4a4186 ≈ 0.001% of males
Protanopia #004fbe ≈ 1.01% of males
Deuteranopia #0046b7 ≈ 1.27% of males
Tritanopia #005672 ≈ 0.0001% of males
Protanomaly #0044bc ≈ 1.08% of males
Deuteranomaly #003eb8 ≈ 4.63% of males
Tritanomaly #2c4994 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a2eba {
  color: #4a2eba;
}
Background
.bg-4a2eba {
  background-color: #4a2eba;
  color: #ffffff;
}
Border
.border-4a2eba {
  border: 2px solid #4a2eba;
}
CSS variables
:root {
  --color-primary: #4a2eba;
  --color-primary-rgb: 74 46 186;
  --color-primary-hsl: 252 60% 45%;
}
Gradient
.gradient-4a2eba {
  background: linear-gradient(135deg, #4a2eba, #902eba);
}
Colored shadow
.shadow-4a2eba {
  box-shadow: 0 8px 24px rgb(74 46 186 / 0.35);
}

Ocean Blue
#4a2eba  rgb(74, 46, 186)  hsl(252, 60%, 45%)  Ocean Blue
#9eba2e  rgb(158, 186, 46)  hsl(72, 60%, 45%)  Apple Green
#ba4a2e  rgb(186, 74, 46)  hsl(12, 60%, 45%)  Rust
#2eba4a  rgb(46, 186, 74)  hsl(132, 60%, 45%)  Kelly Green