#4B2EBC

#4b2ebc ≈ Ocean Blue

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

#4b2ebc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.41% red, 18.04% green and 73.73% blue; printed in CMYK it uses 60.11% cyan, 75.53% magenta, 0% yellow and 26.27% black. Its hue angle is 252.25°, with 60.68% saturation and 45.88% 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.69: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 #4b2ebc 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.0708

Readable text 8.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4b4187 ≈ 0.001% of males
Protanopia #0050c0 ≈ 1.01% of males
Deuteranopia #0046b9 ≈ 1.27% of males
Tritanopia #005673 ≈ 0.0001% of males
Protanomaly #0044be ≈ 1.08% of males
Deuteranomaly #003eba ≈ 4.63% of males
Tritanomaly #2d4996 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4b2ebc {
  color: #4b2ebc;
}
Background
.bg-4b2ebc {
  background-color: #4b2ebc;
  color: #ffffff;
}
Border
.border-4b2ebc {
  border: 2px solid #4b2ebc;
}
CSS variables
:root {
  --color-primary: #4b2ebc;
  --color-primary-rgb: 75 46 188;
  --color-primary-hsl: 252 61% 46%;
}
Gradient
.gradient-4b2ebc {
  background: linear-gradient(135deg, #4b2ebc, #922ebc);
}
Colored shadow
.shadow-4b2ebc {
  box-shadow: 0 8px 24px rgb(75 46 188 / 0.35);
}

Ocean Blue
#4b2ebc  rgb(75, 46, 188)  hsl(252, 61%, 46%)  Ocean Blue
#9fbc2e  rgb(159, 188, 46)  hsl(72, 61%, 46%)  Apple Green
#bc4b2e  rgb(188, 75, 46)  hsl(12, 61%, 46%)  Rust
#2ebc4b  rgb(46, 188, 75)  hsl(132, 61%, 46%)  Lime Green