#4E2AB4

#4e2ab4 ≈ Ocean Blue

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

#4e2ab4 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 16.47% green and 70.59% blue; printed in CMYK it uses 56.67% cyan, 76.67% magenta, 0% yellow and 29.41% black. Its hue angle is 255.65°, with 62.16% saturation and 43.53% 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.07:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.79.

Description generated from the measured properties of this color.

Conversions of #4e2ab4 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.0657

Readable text 9.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #4b3e82 ≈ 0.001% of males
Protanopia #004cb8 ≈ 1.01% of males
Deuteranopia #0044b1 ≈ 1.27% of males
Tritanopia #1d516e ≈ 0.0001% of males
Protanomaly #0041b6 ≈ 1.08% of males
Deuteranomaly #003bb2 ≈ 4.63% of males
Tritanomaly #37458f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e2ab4 {
  color: #4e2ab4;
}
Background
.bg-4e2ab4 {
  background-color: #4e2ab4;
  color: #ffffff;
}
Border
.border-4e2ab4 {
  border: 2px solid #4e2ab4;
}
CSS variables
:root {
  --color-primary: #4e2ab4;
  --color-primary-rgb: 78 42 180;
  --color-primary-hsl: 256 62% 44%;
}
Gradient
.gradient-4e2ab4 {
  background: linear-gradient(135deg, #4e2ab4, #932ab4);
}
Colored shadow
.shadow-4e2ab4 {
  box-shadow: 0 8px 24px rgb(78 42 180 / 0.35);
}

Ocean Blue
#4e2ab4  rgb(78, 42, 180)  hsl(256, 62%, 44%)  Ocean Blue
#90b42a  rgb(144, 180, 42)  hsl(76, 62%, 44%)  Apple Green
#b44e2a  rgb(180, 78, 42)  hsl(16, 62%, 44%)  Rust
#2ab44e  rgb(42, 180, 78)  hsl(136, 62%, 44%)  Medium Sea Green