#4B2CB2

#4b2cb2 ≈ Ocean Blue

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

#4b2cb2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.41% red, 17.25% green and 69.8% blue; printed in CMYK it uses 57.87% cyan, 75.28% magenta, 0% yellow and 30.2% black. Its hue angle is 253.88°, with 60.36% 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.12:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.43.

Description generated from the measured properties of this color.

Conversions of #4b2cb2 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.0651

Readable text 9.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #493f80 ≈ 0.001% of males
Protanopia #004cb6 ≈ 1.01% of males
Deuteranopia #0044b0 ≈ 1.27% of males
Tritanopia #14526d ≈ 0.0001% of males
Protanomaly #0041b4 ≈ 1.08% of males
Deuteranomaly #003cb1 ≈ 4.63% of males
Tritanomaly #32458e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4b2cb2 {
  color: #4b2cb2;
}
Background
.bg-4b2cb2 {
  background-color: #4b2cb2;
  color: #ffffff;
}
Border
.border-4b2cb2 {
  border: 2px solid #4b2cb2;
}
CSS variables
:root {
  --color-primary: #4b2cb2;
  --color-primary-rgb: 75 44 178;
  --color-primary-hsl: 254 60% 44%;
}
Gradient
.gradient-4b2cb2 {
  background: linear-gradient(135deg, #4b2cb2, #8e2cb2);
}
Colored shadow
.shadow-4b2cb2 {
  box-shadow: 0 8px 24px rgb(75 44 178 / 0.35);
}

Ocean Blue
#4b2cb2  rgb(75, 44, 178)  hsl(254, 60%, 44%)  Ocean Blue
#93b22c  rgb(147, 178, 44)  hsl(74, 60%, 44%)  Apple Green
#b24b2c  rgb(178, 75, 44)  hsl(14, 60%, 44%)  Rust
#2cb24b  rgb(44, 178, 75)  hsl(134, 60%, 44%)  Medium Sea Green