#4E3AA0

#4e3aa0 ≈ Ocean Blue

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

#4e3aa0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 22.75% green and 62.75% blue; printed in CMYK it uses 51.25% cyan, 63.75% magenta, 0% yellow and 37.25% black. Its hue angle is 251.76°, with 46.79% saturation and 42.75% 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.62:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.78.

Description generated from the measured properties of this color.

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

Readable text 8.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #4d4577 ≈ 0.001% of males
Protanopia #004ea3 ≈ 1.01% of males
Deuteranopia #00499e ≈ 1.27% of males
Tritanopia #305267 ≈ 0.0001% of males
Protanomaly #2847a2 ≈ 1.08% of males
Deuteranomaly #28439f ≈ 4.63% of males
Tritanomaly #3e4a82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e3aa0 {
  color: #4e3aa0;
}
Background
.bg-4e3aa0 {
  background-color: #4e3aa0;
  color: #ffffff;
}
Border
.border-4e3aa0 {
  border: 2px solid #4e3aa0;
}
CSS variables
:root {
  --color-primary: #4e3aa0;
  --color-primary-rgb: 78 58 160;
  --color-primary-hsl: 252 47% 43%;
}
Gradient
.gradient-4e3aa0 {
  background: linear-gradient(135deg, #4e3aa0, #813aa0);
}
Colored shadow
.shadow-4e3aa0 {
  box-shadow: 0 8px 24px rgb(78 58 160 / 0.35);
}

Ocean Blue
#4e3aa0  rgb(78, 58, 160)  hsl(252, 47%, 43%)  Ocean Blue
#8ca03a  rgb(140, 160, 58)  hsl(72, 47%, 43%)  Moss Green
#a04e3a  rgb(160, 78, 58)  hsl(12, 47%, 43%)  Chestnut
#3aa04e  rgb(58, 160, 78)  hsl(132, 47%, 43%)  Shamrock Green