#4B2FB2

#4b2fb2 ≈ Ocean Blue

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

#4b2fb2 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.43% green and 69.8% blue; printed in CMYK it uses 57.87% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 252.82°, with 58.22% saturation and 44.12% 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.94:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.79.

Description generated from the measured properties of this color.

Conversions of #4b2fb2 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.0674

Readable text 8.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4a4081 ≈ 0.001% of males
Protanopia #004db6 ≈ 1.01% of males
Deuteranopia #0045b0 ≈ 1.27% of males
Tritanopia #13536e ≈ 0.0001% of males
Protanomaly #0043b4 ≈ 1.08% of males
Deuteranomaly #003db1 ≈ 4.63% of males
Tritanomaly #32478e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#4b2fb2  rgb(75, 47, 178)  hsl(253, 58%, 44%)  Ocean Blue
#96b22f  rgb(150, 178, 47)  hsl(73, 58%, 44%)  Apple Green
#b24b2f  rgb(178, 75, 47)  hsl(13, 58%, 44%)  Rust
#2fb24b  rgb(47, 178, 75)  hsl(133, 58%, 44%)  Medium Sea Green